https://github.com/null-none/python-api-instagram
Api methods for instagram.com on python
https://github.com/null-none/python-api-instagram
Last synced: about 1 month ago
JSON representation
Api methods for instagram.com on python
- Host: GitHub
- URL: https://github.com/null-none/python-api-instagram
- Owner: null-none
- License: other
- Created: 2016-09-08T06:42:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-17T15:42:51.000Z (over 9 years ago)
- Last Synced: 2026-02-13T10:26:15.814Z (about 1 month ago)
- Language: Python
- Size: 5.86 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
Class for use https://instagram.com
=======
Install
=======
.. code-block:: bash
pip install python-api-instagram
=======
Example
=======
.. code-block:: python
from python_api_instagram.instagramAPI import instagramAPI
access_token = '3403089465.260c1aa.b09a16*03c24435880d3fe195*f8f156'
instagram = instagramAPI(access_token)
print instagram.users_self()
print instagram.users_detail(3403089465)
print instagram.users_self_media_liked()
print instagram.followed_by()
print instagram.follows_self()
print instagram.media_self_recent()
print instagram.media('1306717096452924663_3403089465')
print instagram.actions_relationship(3403089465, 'follow')
print instagram.relationship(3403089465)
print instagram.requested_by()
print instagram.followed_by()
print instagram.follows()
print instagram.locations(514276)
print instagram.locations_media_recent(514276)
print instagram.locations_search(37.77493, -122.419415)
=======
License
=======
MIT