razaborg / api_lbc

This script can get informations from website leboncoin

Home Page:https://www.leboncoin.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

API LeBonCoin

Build Status

Usage

usage: api_lbc.py [-h] {dashboard,ad,search} ...

positional arguments:
  {dashboard,ad,search}
                        commands
    dashboard           List dashboard informations
    search              Search ads

optional arguments:
  -h, --help            show this help message and exit


# dashboard
usage: api_lbc.py dashboard [-h] [--force-authentication]
                            [--username USERNAME] [--uncolor]

optional arguments:
  -h, --help            show this help message and exit
  --force-authentication, -f
                        To force the authentication.
  --username USERNAME, -u USERNAME
                        Username to log in.
  --uncolor             Disable coloration


# search
usage: api_lbc.py search [-h] keywords

positional arguments:
  keywords              Keywords of the search

optional arguments:
  -h, --help            show this help message and exit

Examples

# Display your dashboard
python api_lbc.py dashboard

# Search something
python api_lbc.py search "Velo VTT"

About

This script can get informations from website leboncoin

https://www.leboncoin.fr

License:MIT License


Languages

Language:Python 100.0%