Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

smat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smat

A Python client for SMAT's API

  • 0.2.0
  • PyPI
  • Socket score

Maintainers
1

SMAT

A Python API wrapper for the Social Media Analysis Toolkit

Installation:

  • Clone this repo with git clone https://github.com/nwithan8/SMAT-API.git or install from PyPi with pip 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

  • term is a required parameter for each field.

  • siteis a required parameter for each field. You can use the predefined enums in smat.Site or 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.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc