tdurieux / leboncoin-api

DEPRECATED
https://www.npmjs.com/package/leboncoin-api
169 stars 54 forks source link

A write API? #67

Open faresd opened 4 years ago

faresd commented 4 years ago

I'm searched online and I couldn't find any way to create announcements in Leboncoin. Also it will be nice if we can have a connecter for Shopify to sync the products catalog.

tdurieux commented 4 years ago

It should not be too difficult to do. Unfortunately, I don't have much time to invest in this project for the moment.

faresd commented 4 years ago

I might Implement that, I will share that with you, this can be useful in many cases.

FGRibreau commented 4 years ago

@faresd I'm interested as well :)

R-LP commented 4 years ago

Hi, I'd be interested as well. Any lead how to know leboncoin's API details when it comes to posting/deleting ads ?

faresd commented 4 years ago

So basically you need to do multiple POSTs for each step you do when you create an Ad

Here is a scratch I've tried using Postman and I have captured the cookies using portman "Capture requests and cookies" feature.

Screenshot 2020-10-21 at 17 09 05 Screenshot 2020-10-21 at 17 13 15

My calls have been successful and I could create some ads