File tree Expand file tree Collapse file tree 5 files changed +16
-8
lines changed
Expand file tree Collapse file tree 5 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ https://www.npmjs.com/package/apigratis-sdk-nodejs
3434| Up | Services available | Description | Free | Beta | Stable |
3535| --- | ------------------ | ------------------------------------- | ---- | ---- | ------ |
3636| ✅ | WhatsAppService | API do WhatsApp Gratuita. | ✅ | ✅ | ⌛ |
37- | ⌛ | Receita Data CNPJ | API Dados CNPJ Receita. | ⌛ | ⌛ | ⌛ |
38- | ⌛ | Receita Data CPF | API Dados de CPF Serasa. | ⌛ | ⌛ | ⌛ |
39- | ⌛ | CorreiosService | API Busca encomendas Correios Brazil. | ⌛ | ⌛ | ⌛ |
40- | ⌛ | CEPLocation | API CEP Geolocation + IBGE Brazil. | ⌛ | ⌛ | ⌛ |
37+ | ✅ | Receita Data CNPJ | API Dados CNPJ Receita. | ✅ | ✅ | ⌛ |
38+ | ✅ | Receita Data CPF | API Dados de CPF Serasa. | ✅ | ✅ | ⌛ |
39+ | ✅ | CorreiosService | API Busca encomendas Correios Brazil. | ✅ | ✅ | ⌛ |
40+ | ✅ | CEPLocation | API CEP Geolocation + IBGE Brazil. | ✅ | ✅ | ⌛ |
4141| ✅ | VehiclesService | API Placa Dados. | ✅ | ✅ | ⌛ |
42- | ⌛ | FipeService | API Placa FIPE. | ⌛ | ⌛ | ⌛ |
42+ | ✅ | FipeService | API Placa FIPE. | ✅ | ✅ | ⌛ |
4343
4444## WhatsApp Service
4545
@@ -107,3 +107,5 @@ vehiclesApi
107107 })
108108 .then (resp => console .log (JSON .stringify (resp, undefined , ' ' )));
109109```
110+
111+ ...Em breve mais exemplos
Original file line number Diff line number Diff line change 11{
22 "name" : " apigratis-sdk-nodejs" ,
3- "version" : " 0.1.1 " ,
3+ "version" : " 0.1.4 " ,
44 "description" : " A ideia desse SDK é otimizar o tempo de código dos usuários auxiliando na integração com a plataforma" ,
55 "homepage" : " https://apigratis.com.br" ,
66 "author" : " APIGratis <contato@apigratis.com.br> (https://apigratis.com.br)" ,
2020 " correios"
2121 ],
2222 "scripts" : {
23- "build" : " tsc -p . " ,
23+ "build" : " yarn tsc " ,
2424 "start" : " tsc && link-module-alias && node dist/index.js" ,
2525 "dev" : " tsc && link-module-alias && concurrently \" tsc --watch\" \" nodemon dist/index.js\" " ,
2626 "test" : " jest" ,
Original file line number Diff line number Diff line change 1+ import { createApiInstance , Credentials } from '../GeneralAPI' ;
2+
3+ export const createCepApi = ( credentials : Credentials ) =>
4+ createApiInstance ( 'cep' , credentials ) ;
Original file line number Diff line number Diff line change @@ -12,7 +12,8 @@ export type Action =
1212 | 'vehicles'
1313 | 'correios'
1414 | 'dados/cpf'
15- | 'dados/cnpj' ;
15+ | 'dados/cnpj'
16+ | 'cep' ;
1617
1718export const createApiInstance = ( action : Action , credentials : Credentials ) => {
1819 const axiosInstance = axios . create ( {
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ export * from './Correios';
33export * from './Vehicle' ;
44export * from './Whatsapp' ;
55export * from './Cpf' ;
6+ export * from './Cep' ;
You can’t perform that action at this time.
0 commit comments