Skip to content

A Python wrapper around the Airbnb API (unofficial)

License

Notifications You must be signed in to change notification settings

osaund/airbnb-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

airbnb-python

Airbnb Python API

Disclaimer

This is a unofficial python API wrapper for airbnb.com

Using this software might contradict airbnb.com terms of service

Requirements

  • requests

Usage:

pip install airbnb-python

Initialize API with your airbnb.com username and password:

from airbnb import Api api = Api(login, password)

Get you user profile:

api.get_profile()

Get listing availability:

api.get_calendar(listing_id)

Optional parameters:

  • starting_month: first month of the calendar (can't be in the past)
  • starting_year: first year of the calendar (can't be in the past)
  • calendar_months: how many months ahead you want to get the calendar for

Example:

api.get_calendar(975964, starting_month=9, starting_year=2017, calendar_months=1)

https://travis-ci.org/nderkach/airbnb-python.png

About

A Python wrapper around the Airbnb API (unofficial)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%