Documentation
This commit is contained in:
parent
f4a66b3e55
commit
7bca418530
4 changed files with 33 additions and 6 deletions
13
README.md
13
README.md
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
You will need:
|
||||
1. API Client and Secret
|
||||
2. Python 3.12 or above
|
||||
2. Python 3.11 or something sensible or above
|
||||
3. A method for environment variables like [python-dotenv](https://pypi.org/project/python-dotenv/)
|
||||
|
||||
### API client key and secret from the site
|
||||
|
|
@ -37,5 +37,14 @@ API = trustcafeapiwrapper.APIClient(
|
|||
)
|
||||
|
||||
profile = API.run_job('userprofile.get', "simon-little")
|
||||
```
|
||||
|
||||
|
||||
from trustcafeapiwrapper.wrappers.post.create_post import create_post
|
||||
|
||||
API.wrapped(create_post(
|
||||
"This is a test post created via the create_post wrapper function.",
|
||||
))
|
||||
```
|
||||
## More
|
||||
- [Development "Things to think about do"](https://gitlab.com/trustcafe/trustcafe-api-wrapper/-/blob/main/development.md)
|
||||
- [Documentation](https://gitlab.com/trustcafe/trustcafe-api-wrapper/-/blob/main/documentation.md)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue