用python编写instagram的api包装器
instagram-python-lib的Python项目详细描述
#instagram python
instagram python是用python编写的instagram的一个api包装
<<安装
``` ` ` `
>pip instagram python lib
` ` ` ` `
instagram.client import client
instagram python ` ` ` ` ` ` ` `
instagram.client client client client客户端
作用域=['basic']
url=client.authorization\u url('redirect\u uri',scopes)
````
“'code')
`````
````
`````
客户端.设置访问令牌('token')
````
获取帐户信息
``````
response=client客户端.获取帐户(')
`````
```````
````````
```````
```````
``````````
````````````````````````
>````;35; webhooks
创建订阅
```
响应=client.create_subscription('user','media','a_secret_random_key','notification_url')
````
get subscriptions
`````
response=client.get_subscriptions()
`````
delete subscription
````
response=client.delete_subscription('subscription_id')
```
instagram python是用python编写的instagram的一个api包装
<<安装
``` ` ` `
>pip instagram python lib
` ` ` ` `
instagram.client import client
instagram python ` ` ` ` ` ` ` `
instagram.client client client client客户端
url=client.authorization\u url('redirect\u uri',scopes)
````
“'code')
`````
````
`````
客户端.设置访问令牌('token')
````
获取帐户信息
``````
response=client客户端.获取帐户(')
`````
```````
````````
```````
```````
``````````
````````````````````````
>````;35; webhooks
创建订阅
```
响应=client.create_subscription('user','media','a_secret_random_key','notification_url')
````
get subscriptions
`````
response=client.get_subscriptions()
`````
delete subscription
````
response=client.delete_subscription('subscription_id')
```