Code Monkey home page Code Monkey logo

colissimo-api's People

Contributors

hedii avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

colissimo-api's Issues

Problem of composer solved.

Hi,

Careful, you specify in your README.md :
$colissimoApi = new \Hedii\ColissimoApi();

But it is :
$colissimoApi = new \Hedii\ColissimoApi\ColissimoApi();

And it might be nice to specify we have to install the xml (dom) PHP extension with (for example) :
apt install php7.0-dom

Regards,

Incompatible avec la nouvelle interface (+ méthode Ajax)

Hello,

J'utilisais ton code jusqu'à aujourd'hui mais depuis le changement d'interface du site de suivi LaPoste, il ne fonctionne plus.

En bidouillant les nouvelles pages de suivi, je me suis rendu compte qu'elles font un bête call Ajax sur une API interne à LaPoste : https://d.pr/i/R5IWcX

Pour qu'un appel via php-cURL fonctionne, il faut garder le cookie dans les headers. Je ne sais pas à quel point c'est propre/fiable, quand ce cookie expire, etc. Je n'ai jamais manipulé les headers à ce niveau dans mes requêtes HTTP.

J'imagine qu'un scrapping basique reste possible, mais puisque c'est un call Ajax qui nourrit la page, on n'arrive pas à récupérer quoi que ce soit au chargement direct de la page. :/

Comment vois-tu les choses ? Vas-tu faire évoluer ta bibliothèque, ou est-ce que c'est un projet abandonné dont tu n'as plus besoin ?

Merci,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.