Comments (3)
In principiu, au introdus header Authorization cu token generat la login si mai toate functiile returneaza JSON. Nu mai necesita CSV pt trimiterea awb-urilor (o sa fie array multidimensional).
Documentatia o au publicata aici: https://github.com/FAN-Courier/API-Docs
Vezi ca arhivele publicate sunt mix de documentatie veche si noul api (il gasesti dupa data modificarii cel mai usor).
Si ca sa nu pierzi mult timp ca mine, toate requesturile de tip POST accepta doar application/x-www-form-urlencoded chiar daca documentatia zice si pare ca accepta JSON (m-a incurat rau de tot asta la crearea de awb).
Exemplele de la creare awb nu arata campurile necesare pt destinatar pentru persoana de contact, bloc, scara, ap, etaj, astea le gasesti la informatii borderou cum trebuie sa arate. Un alt camp care te poate deruta este "cod", asta e campul de ramburs (vine de la cash on delivery)
Bafta
from fancourier-api.
Salut,
Cel mai probabil ca voi face upgrade. Nu stiu ce presupune inca, nu am citit documentatia, dar candva la inceput de 2024 ma voi ocupa
from fancourier-api.
Am incarcat versiunea mea pentru API 2.0 aici shusaura85/fancourier-api
Cred ca o sa te ajute foarte mult pentru implementarea ta (mai ales cand vine vorba de campurile care nu sunt specificate in documentatie).
request
-urile si response
-urile au pastrat in mare parte designul care il ai si tu, dar eu am decis sa adaug si obiecte pentru raspunsuri (unde era cazul) si crearea de awb-uri.
from fancourier-api.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fancourier-api.