MCPcopy Index your code
hub / github.com/adrienverge/kijijiapi

github.com/adrienverge/kijijiapi @v2.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.0 ↗ · + Follow
22 symbols 54 edges 2 files 3 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Kijiji API

Robot to post ads on Kijiji.

This set of bash functions allow you to automatically post ads on the Kijiji advertisement community. Using a crontab, you can program it to post your ad regularly and make sure more users will see it.

Usage

First, store your Kijiji account username and password into the config.ini file.

To configure the script to post a specific ad, you need to post it once on Kijiji and save the POST vars sent by your browser when posting:

POST /c-PostAd HTTP/1.1

Save this POST vars into a file (let's say post-vars.txt). Here is an example showing how to format it:

CatId=650
RequestRefererUrl=%2C
ReformattedDesc=0
AdType=2
PriceAlternative=1
Price=20
Title=Great bike
Description=I'm selling my bike, it works great.



I also have a lock for it.
Photo=$global_ad_images
Email=my@email.com
Phone=555-555-5555
MapAddress=Montréal, QC, Canada
AddressCity=Montréal
AddressRegion=QC
AddressConfidenceLevel=0
AddressCounty=CA
AddressSelectedByUser=true
featuredAdDuration=0

Then, use the following command to post your add:

$ ./kijijiapi.py -i img1.jpg,img2.png post-vars.txt

assuming that your images to join with the ad are img1.jpg and img2.png, and your POST vars are in post-vars.txt.

Core symbols most depended-on inside this repo

Shape

Method 14
Class 6
Function 2

Languages

Python100%

Modules by API surface

kijijiapi.py17 symbols
multipartformdataencoder.py5 symbols

For agents

$ claude mcp add kijijiapi \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page