Download the PHP package shipu/hackerrank-api without Composer
On this page you can find all versions of the php package shipu/hackerrank-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shipu/hackerrank-api
More information about shipu/hackerrank-api
Files in shipu/hackerrank-api
Package hackerrank-api
Short Description PHP and Laravel HackerRank Code Checker API
License MIT
Homepage http://shipuahamed.com
Informations about the package hackerrank-api
HackerRank API
HackerRank Code Checker API. Extremely simple REST API. Supports more than a dozen languages. All powered by reliable HackerRank servers. You can use your own scoring system or build your own online judge.
40+ programming languages support.
Installation
Themevel is a Laravel package so you can install it via Composer. Run this command in your terminal from your project directory:
Wait for a while, Composer will automatically install Themevel in your project.
Laravel Configuration
When the download is complete, you have to call this package service in config/app.php
config file. To do that, add this line in app.php
in providers
array:
To use facade you have to add this line in app.php
to the aliases
array:
Now run this command in your terminal to publish this package resources:
after publishing your config file then open config/hackerrank.php
and add your hackerrank app key:
also you can add api key in .env
:
Thats it.
API List
- languages()
- submission($lang, $source, $testcases = [ "1" ], $format = 'json', $wait = true, $callback_url = '')
Usages
For Laravel Usage
Code Submission
Code Submission with TestCase
Support on Beerpay
Hey dude! Help me out for a couple of :beers:!