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

nitrotype-scraper

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nitrotype-scraper

A package to use the nitrotype api and get player or team stats along with accessing the Nitrotype bootstrap

  • 1.5
  • PyPI
  • Socket score

Maintainers
1

Metadata-Version: 2.1 Name: NT.py Version: 4.3.4 Summary: A package to use the nitrotype api and get player or team stats Home-page: https://github.com/adl212/NT.py Author-email: emailforpythoncoding@gmail.com Classifier: Programming Language :: Python :: 3 Classifier: License :: OSI Approved :: MIT License Classifier: Operating System :: OS Independent Requires-Python: >=3.6 Description-Content-Type: text/markdown License-File: LICENSE

NT.py

What is this?

  • gets racer stats
  • gets team stats
  • access the nitrotype api

Racer Class

Get the stats of a racer.

Arguments

  • username

How to use it:

import nitrotype

scraper = nitrotype.NitroTypeScraper()
racer = nitrotype.Racer('tranq_')

This will print out the username for tranq_ You can see all the attributes of the Racer class here

Team Class

Get the stats of a team.

Arguments

  • team tag

How to use it:

import nitrotype
team = nitrotype.Team('NTA')
print(team.leaders)

This will print out officers by type tuple (username, displayname) You can see all the attributes of the Team class here

Racer Attributes

Here are the attributes of the Racer class:

  • success - returns a boolean of True or False
    • If False, then other attributes will not exist
  • tag - The racer's current team's tag
  • userid - The userid of the racer

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