Skip to content

Latest commit

 

History

History
39 lines (32 loc) · 700 Bytes

README.md

File metadata and controls

39 lines (32 loc) · 700 Bytes

Swappa Python API

Here's a Python package to access data from Swappa.

https://swappa.com/

To-Do

  • Organize retrieved data into JSON
  • Local
  • Add url's of listing into returned JSON object
  • Carrier
  • Brand
  • Top Menu Search
  • Seller API
  • Documentation

Linux / OS X

cd swappa
source bin/activate
pip3 install -r bin/requirements.txt

Windows

cd swappa
pip3 install -r bin/requirements.txt

code is in src/Swappa.py

DOCUMENTATION

Here is what works so far

bs = Swappa();
print(bs.search("iphone 7"));
print(bs.local("phoenix")); #from https://swappa.com/local and some acronyms (nyc, phnx, sd, etc)

open issues pls