Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BuiltByBit/harry-php-api-wrapper

Open more actions menu
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BuiltByBit PHP API Wrapper

GitHub license

A PHP wrapper for BuiltByBit's HTTP API.

  • Full coverage of the API.
  • Type hinting used for IDE autocomplete & readability.
  • Requests are dynamically stalled to stay within rate limiting rules.
  • No dependencies other than cURL - clone this repository and go!

Usage

An extensive list of examples can be found under the /examples directory.

<?php
require __DIR__ . "/../src/APIWrapper.php";

$token = new APIToken(TokenType::PRIVATE, "Find @ https://builtbybit.com/account/api");
$wrapper = new APIWrapper();

if ($error = $wrapper->initialise($token)->getError()) {
    die("API initialisation error: ". $error["message"]);
}

echo $wrapper->members()->fetch(87939)->getData()["username"];

Issues & Support

Whether you're wanting to report a bug you've come across during use of this wrapper or are seeking general help/assistance, please utilise the issues tracker and tag your issue appropriately during creation.

I try to respond to issues within a reasonable timeframe.

About

A PHP wrapper for MC-Market's Ultimate REST API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%
Morty Proxy This is a proxified and sanitized view of the page, visit original site.