Auchandirect-ScrAPI : an unofficial API Ruby Gem

less than 1 minute read

Every brands should provide an API for developpers … unfortunately, it far from the truth right now. A few years ago, when I started my mes-courses.fr side project, I would have loved to find a french online grocery providing an open API. I had to resort to scrapping (that’s how I learnt that heavily relying on scrapping for a 15hr/week side project is not a good fit … but that’s another story).

As I am taking mes-courses.fr down, I have extracted the whole unofficial API I had built around http://www.auchandirect.fr (I’m talking to you french hackers !) into an open source Ruby Gem. Briefly :

  • It walks the whole store, from categories to items
  • Given valid credentials, it can fill and save a cart
  • It’s LGPL : anyone can use it as long as they give back any improvement to the community
  • It’s using Storexplore, another of my mes-courses.fr rip-off open source Ruby Gem
  • It’s tested on Travis and I’m currently trying to make it daily tested with Traviscron

There’s mainly one thing it cannot do :

  • It cannot procede to any payment or ordering

It’s available on Github

Happy scrapping !

I usually write about 15 minutes worth of reading per month. I won't transfer your email. No Spam, unsubscribe whenever you want.

As a gift for subscribing, you'll receive an illustrated mini-ebook "How to start a team coding dojo"!

Leave a comment