Skip to content

Latest commit

 

History

History
47 lines (39 loc) · 1.28 KB

README.md

File metadata and controls

47 lines (39 loc) · 1.28 KB

Car.gr SDK

This is an experiment for automations on car.gr site

Working on free time so... follow for new updates

Automate some functionalities. Some of them are:

  • Update all user ads
  • Update specific user ads
  • Get user info
  • Update specific fields on user profile
  • Get user's ads in objects
  • Get user's ads (titles only)

How to use:

  1. Create a file named local.py under the settings folder. The file should be based on local.py.example
  2. Fill your username and password. The credentials are not saved, the are just forwarded to the site (you can check the source code)
  3. Initialize the sdk in your script and you are ready to go
  4. The folder examples has some basic steps
# Initialize
client = CarGrSDK()

# Get user ads
ads = client.user.get_ads()

# Update all available ads
for ad in ads:
    ad.refresh()

Full Documentation:

The full documentation and complete functionalities are described at documentation.md file


TODO:

  • Create new listing
  • Delete specific listing
  • Delete all listing