You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
5 months ago | |
---|---|---|
.github/workflows | 6 months ago | |
.vscode | 5 months ago | |
calckey | 5 months ago | |
.editorconfig | 6 months ago | |
.flake8 | 5 months ago | |
.gitattributes | 5 months ago | |
.gitignore | 6 months ago | |
.onedev-buildspec.yml | 5 months ago | |
CHANGELOG.md | 5 months ago | |
LICENSE | 1 year ago | |
MANIFEST.in | 5 months ago | |
README.md | 5 months ago | |
pyproject.toml | 5 months ago | |
requirements.txt | 5 months ago | |
setup.cfg | 5 months ago | |
setup.py | 5 months ago | |
versioneer.py | 6 months ago |
README.md
Calckey.py
Python wrapper for Calckey.
import asyncio
from mipac.client import Client
async def main():
client = Client(url, token)
await client.http.login()
note = await client.api.note.action.send('Hello World')
print(note.author.username, note.content)
if __name__ == '__main__':
asyncio.run(main())