Skip to main content

Teambition Python API

Project description

teambition-api

Teambition Python API

阅读文档:http://teambition-api.readthedocs.org/zh_CN/latest/

安装与升级

推荐使用 pip 进行安装:

pip install teambition

升级版本:

pip install -U teambition

基本用法

# -*- coding: utf-8 -*-
from __future__ import absolute_import, unicode_literals
from teambition import Teambition

client_key = 'Your client key'
client_secret = 'You client secret'
redirect_uri = 'http://localhost'


tb = Teambition(client_key, client_secret)

# 获取授权地址
url = tb.oauth.get_authorize_url(redirect_uri)

# 通过 code 获取 access_token

tb.oauth.fetch_access_token('Your code')

# 其它操作

License

The MIT License (MIT)

Copyright (c) 2015 messense

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

teambition-0.1.4.zip (37.2 kB view details)

Uploaded Source

teambition-0.1.4.tar.gz (19.6 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.4-py2.py3-none-any.whl (33.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.4.zip.

File metadata

  • Download URL: teambition-0.1.4.zip
  • Upload date:
  • Size: 37.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for teambition-0.1.4.zip
Algorithm Hash digest
SHA256 cd2754344ede822dfa011ba9ee07f88899d664a82bb4207106bc62aa70a4cb3a
MD5 28b1cb0d6560d862d0b5b8ce4b55e576
BLAKE2b-256 93c4b0cb9bc221225f5b2ed21f2a7cbd96943676e9ba54bf4758bbc1e4759b65

See more details on using hashes here.

File details

Details for the file teambition-0.1.4.tar.gz.

File metadata

  • Download URL: teambition-0.1.4.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for teambition-0.1.4.tar.gz
Algorithm Hash digest
SHA256 b4ad04f6088e6abb148a51f1b416553a7b0e6f023ce628e7017b20301819584c
MD5 cc15c955db0893291cce9ac7d0216711
BLAKE2b-256 968d01d1abbd1bbc9365e872d41bc5ebbb9e15d4903e77420551cd581c13b94c

See more details on using hashes here.

File details

Details for the file teambition-0.1.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for teambition-0.1.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7e681f5693d62d0987b6f07f1d7131d9da62396c1e2e6031bc4509f4b2c1bcd2
MD5 d3574e0ab2912f26da34f71a3e74ed63
BLAKE2b-256 14071deb9694c65c7c265e4fdaa26e1878a2f6fc8b0414d7f8839196bc0f6cb6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page