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.1.zip (35.9 kB view details)

Uploaded Source

teambition-0.1.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

teambition-0.1.1-py2.py3-none-any.whl (32.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file teambition-0.1.1.zip.

File metadata

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

File hashes

Hashes for teambition-0.1.1.zip
Algorithm Hash digest
SHA256 332c548680de93655aa2d250cb9887f8debdcc681146d4b06c61a99531e51384
MD5 b462f68e4ada0f146b3a490131b08d01
BLAKE2b-256 7739deff46a4a37d65a829b5e8aeba346a1fb0e7c24452c43bd695197a196afd

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for teambition-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ac6d0691d4c52c9a79ffeb9bf07f5d012be6748842aa069ae9db84b3b2972de7
MD5 044502afc6878456054c3713069e21e2
BLAKE2b-256 2576b39a6f61120a50505b73be0d1c704c599aa365b421a3a479fbd1e2eb602f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for teambition-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 38dd8dd1fd770fb65ed764036532492cb989f0aa54f9e2f3ad9dea90c2b04d15
MD5 1f5d63ac9b2b3c583cfb760640de3697
BLAKE2b-256 0ff3252bf9887f394af3c1f0c65afcdca90b99231b6628a8b2bded7405eb1d8b

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