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

frii-site

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frii-site

Library for contacting the frii.site API

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

frii.site Python API

The official API for contacting frii.site through it's API

Installation

You can install this package using pip pip install frii_site

Usage

This package is very easy to use. First initialize the API.

from frii_site.api import API

api = API("your-api-key")

api.modify(domain="super-awesome-domain",content="1.2.3.4",type_="A") # True
api.modify(domain="domain-i-dont-own",content="1.2.3.4",type_="A") # InvalidPerms exception

Creating an API key

There are two methods to creating an API key. The recommended one is explained here The second method (not recommended) is to create the API using this library.

from frii_site.perms import permissions as p
api_key = api.create(auth_token="",domains=["super-awesome-domain","another-domain"],perms=[p.MODIFY_CONTENT,...])

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