A small example package
Project description
firefish.py
Simple python wrapper for the Firefish API.
Getting started
I don't have this project setup on pypi. You're gonna have to git clone this for now and enter the firefish.py directory when you want to make a project with this.
I'm running this with 3.11.3, which is (i think) the latest Python3 version and it should work with all versions of Python3. I haven't tested it though
Make sure you have requests and python-dotenv installed as well.
Once you clone firefish.py, create a .env file with the following:
TOKEN=<your firefish api token>
INSTANCE=<the firefish instance associated with your api token>
Don't include the < > keys when typing them in, and format your instance as "subdomain.domain.com". lethallava.land is a pretty decent public Firefish instance if you don't already have an account on an instance.
Additionally, keep in mind that this might work on Misskey as well. You can try, but keep in mind I haven't tested Misskey out for myself yet.
Examples
Simple posting bot:
import firefish
firefish.createnote('example', 'null')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for firefish_py-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85da1ae20e762f169e533b249fef4a42e9978c858d4d7a43b143dbbe8e9e8c86 |
|
MD5 | c86d369dfd96f81ea517684c934db6ef |
|
BLAKE2b-256 | bb81ebf359d0c0e3a6a53c93e5e317890e5294048749398ed90a90f8d6319185 |