SMAT
A Python API wrapper for the Social Media Analysis Toolkit
Installation:
- Clone this repo with
git clone https://github.com/nwithan8/SMAT-API.gitor install from PyPi withpip install smat - Import into your project with
from smat import API
Usage:
This library currently supports the three main methods of SMAT's API:
-
get_content: Get a list of posts from a specific outlet -
get_activity: Aggregate based on a particular field on a specific outlet -
get_time_series: Get a time series for a specific outlet -
termis a required parameter for each field. -
siteis a required parameter for each field. You can use the predefined enums insmat.Siteor provide your own string.- NOTE: IF you provide an invalid site, you will receive an empty JSON body back from the API.
-
All other parameters are optional or have preset defaults.
Docs coming soon. PRs welcome.
Metadata
Release files for smat 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smat-0.2.0.tar.gz | 16.5 kB | Without provenance | Details for smat-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smat-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for smat-0.2.0-py3-none-any.whl |
Total release size: 33.1 kB
Release files / smat-0.2.0.tar.gz
| Download URL | smat-0.2.0.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d4e5eb88f717769e8e978f870890154ae2d2c20e38a8d85df94d95282c0787a
|
|
BLAKE2b-256 checksum How to use checksums |
31e5adfac079944609ab151aa469febc08523b9e6c16749c370124ae8ea8fa5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Release files / smat-0.2.0-py3-none-any.whl
| Download URL | smat-0.2.0-py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a02ac122f836c14d2da726ea4242f07c1c1bd42ed3e0fdeb25de422e26fc400f
|
|
BLAKE2b-256 checksum How to use checksums |
8c8913b8a755b77b3de57400b48fb24dc1c6deb0982fec46b33d36ea5df0e035
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.8
|
Security for smat 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.