PageSourceSearch

https://docs.apicheck.nl/assets/js/0b1f0f98.89c83ccb.js

js apicheck.nl collected 2026-10-02 05:14:49 UTC 5,179 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkapicheck_docs=self.webpackChunkapicheck_docs||[]).push([[7533],{3778:(e,n,r)=>{r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>o,default:()=>d,frontMatter:()=>t,metadata:()=>s,toc:()=>c});const s=JSON.parse('{"id":"integrations/angular-client","title":"Angular","description":"@api-check/angular is an Angular package for address validation and verification across 18 European countries. It uses RxJS observables for asynchronous operations.","source":"@site/docs/integrations/angular-client.md","sourceDirName":"integrations","slug":"/integrations/angular-client","permalink":"/docs/integrations/angular-client","draft":false,"unlisted":false,"tags":[],"version":"current","frontMatter":{"title":"Angular"},"sidebar":"tutorialSidebar","previous":{"title":"JavaScript / TypeScript","permalink":"/docs/integrations/javascript-wrapper"},"next":{"title":"Python Client","permalink":"/docs/integrations/python-client"}}');var i=r(4848),a=r(8453);const t={title:"Angular"},o=void 0,l={},c=[{value:"Installation",id:"installation",level:2},{value:"Setup",id:"setup",level:2},{value:"Usage",id:"usage",level:2},{value:"Features",id:"features",level:2},{value:"Global Search",id:"global-search",level:3},{value:"Address Lookup (Netherlands & Luxembourg)",id:"address-lookup-netherlands--luxembourg",level:3},{value:"Email & Phone Verification",id:"email--phone-verification",level:3},{value:"Supported Countries",id:"supported-countries",level:2}];function u(e){const n={a:"a",code:"code",h2:"h2",h3:"h3",p:"p",pre:"pre",strong:"strong",...(0,a.R)(),...e.components};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("img",{src:"/img/integrations/angular.svg",alt:"Angular",style:{height:"120px",marginBottom:"1.5rem"}}),"\n",(0,i.jsxs)(n.p,{children:[(0,i.jsx)(n.code,{children:"@api-check/angular"})," is an Angular package for address validation and verification across 18 European countries. It uses RxJS observables for asynchronous operations."]}),"\n",(0,i.jsx)(n.h2,{id:"installation",children:"Installation"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-bash",children:"npm install @api-check/angular\n"})}),"\n",(0,i.jsx)(n.h2,{id:"setup",children:"Setup"}),"\n",(0,i.jsxs)(n.p,{children:["Add your API key from ",(0,i.jsx)(n.a,{href:"https://app.apicheck.nl",children:"app.apicheck.nl"})," to your environment configuration, then import and configure the module in your ",(0,i.jsx)(n.code,{children:"AppModule"}),"."]}),"\n",(0,i.jsx)(n.h2,{id:"usage",children:"Usage"}),"\n",(0,i.jsx)(n.p,{children:"Inject the service into your component or service:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"import { ApiCheckService } from '@api-check/angular';\n\n@Injectable({ providedIn: 'root' })\nexport class AddressService {\n  constructor(private apiCheck: ApiCheckService) {}\n\n  search(query: string) {\n    return this.apiCheck.search(query);\n  }\n\n  lookup(postcode: string, number: string) {\n    return this.apiCheck.lookup(postcode, number);\n  }\n}\n"})}),"\n",(0,i.jsxs)(n.p,{children:["All methods return RxJS ",(0,i.jsx)(n.code,{children:"Observable"})," streams."]}),"\n",(0,i.jsx)(n.h2,{id:"features",children:"Features"}),"\n",(0,i.jsx)(n.h3,{id:"global-search",children:"Global Search"}),"\n",(0,i.jsx)(n.p,{children:"Search across streets, cities, and postal codes in one query with powerful filtering options:"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"this.apiCheck.search('Amsterdam').subscribe(results => {\n  // use results\n});\n"})}),"\n",(0,i.jsx)(n.p,{children:"For Belgian addresses, use locality and municipality filters for more precise results."}),"\n",(0,i.jsx)(n.h3,{id:"address-lookup-netherlands--luxembourg",children:"Address Lookup (Netherlands & Luxembourg)"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"this.apiCheck.lookup('1234AB', '10').subscribe(address => {\n  // use address\n});\n"})}),"\n",(0,i.jsx)(n.h3,{id:"email--phone-verification",children:"Email & Phone Verification"}),"\n",(0,i.jsx)(n.pre,{children:(0,i.jsx)(n.code,{className:"language-typescript",children:"this.apiCheck.verifyEmail('[email protected]').subscribe(result => { /* ... */ });\nthis.apiCheck.verifyPhone('+31612345678').subscribe(result => { /* ... */ });\n"})}),"\n",(0,i.jsx)(n.h2,{id:"supported-countries",children:"Supported Countries"}),"\n",(0,i.jsxs)(n.p,{children:["Search endpoints cover 18 European countries. Address lookup is available for ",(0,i.jsx)(n.strong,{children:"Netherlands and Luxembourg only"}),"."]})]})}function d(e={}){const{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,i.jsx)(n,{...e,children:(0,i.jsx)(u,{...e})}):u(e)}},8453:(e,n,r)=>{r.d(n,{R:()=>t,x:()=>o});var s=r(6540);const i={},a=s.createContext(i);function t(e){const n=s.useContext(a);return s.useMemo((function(){return"function"==typeof e?e(n):{...n,...e}}),[n,e])}function o(e){let n;return n=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:t(e.components),s.createElement(a.Provider,{value:n},e.children)}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.