Skip to content

An unofficial Object Oriented API wrapper for top.gg written in PHP

License

Notifications You must be signed in to change notification settings

FoxWorn3365/TopPHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TopPHP2 - The ultimate API wrapper for top.gg

TopPHP2 is the unofficial successor of TopPHP. This library, unlike its predecessor has many advantages that will allow you safe, easy and complete integration of the library with whatever development environment you are using.

What is different from TopPHP?

  • Webhook integration and management with ReactPHP.
  • Built-in small, simple and PHP-native cache system.
  • Object oriented.
  • Internal exception management.
  • Fully documented with code examples.

What can you do with this library?

  • Getting bots informations.
  • Getting users informations.
  • Checking if an user has voted your bot.
  • Checking if an user has voted your bot but with webhooks yey
  • Update your bot's stats.

Documentation

See here for the official information. HERE you can access to the Class Reference

Installation

TopPHP uses composer to download. In order to install the library, use the following line:

composer require foxworn3365/topphp

Why the library's namespace is TopPHP and not TopPHP2?

Good question dear detective-programmer friend, simply because the namespace of the former library (TopPHP) is not \TopPHP but rather \DBL therefore we take advantage of it 😎

Coming Soon

  • Forced library global rate-limiting.

Contact me

You can be a cool person and contact me via:

  • Email: foxworn3365@gmail.com
  • Discord: FoxWorn#0001