Skip to content

Instantly share code, notes, and snippets.

View theabhishek2511's full-sized avatar
💀
probably forgot my password

Abhishek Sharma theabhishek2511

💀
probably forgot my password
  • India
  • 18:43 (UTC +05:30)
View GitHub Profile

Basic

There are two parts of creating the text. First, you call API 1 to edit the text and obtain an ID. Next, you call API 2 and render the text. After that, a link to the image can be formed using the ID you obtained.

API 1

POST https://cooltext.com/PostChange -H 'content-type: application/x-www-form-urlencoded'

Shadowverse Card API

Basic

Every response to all the endpoints is encapsulated in a root JSON object with two keys, a data_headers and a data. The data value is a JSON object. For every endpoint, there exist different keys which contain the actual queried data. In case of any errors, data will contain an empty JSON array.

Card information

@echo off
taskkill -f -IM x2.exe
taskkill -f -IM GameMon.des
pause
@theabhishek2511
theabhishek2511 / discordbot.txt
Last active October 2, 2017 01:31
copied from the dev server
Bot accounts are live, and official API documentation is coming soon!
But, before we release it en-mass, you can try it out by manually creating an OAuth2 Application and converting an existing bot user to it, or creating a new bot user for it. The guide below assumes you're on OSX/Linux (or have curl/cygwin on windows) There will be a to do UI for all this in the documentation. If you are unfamiliar with the concepts in the tutorial below, wait for the documentation to come out!
How to create an application (this is the same API used to create an Application in Stanislav's example above)
curl -H 'Authorization: YOUR_TOKEN' \
-H "Content-Type: application/json" \
-X POST -d '{"name": "YOUR BOT NAME HERE"}' \
https://discordapp.com/api/oauth2/applications
<html>
<head>
<script type="text/javascript">
<!--
function delayer()
{
var str = document.URL.split(".tumblr.com");
var newUrl = "http://yournewurl.tumblr.com";
if(str.length != 1)
{