This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from Bitly import Bitly | |
obj = Bitly("MY_PUBLIC_KEY", "MY_PRIVATE_KEY") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bitly client = new Bitly("MY_PUBLIC_KEY", "MY_PRIVATE_KEY"); | |
JSONObject result = client.getShortenedUrl(originalUrl, login, apikey); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Bitly; | |
[..] | |
// and when you are ready to use it just create a new instance! | |
Bitly client = new Bitly("MY_PUBLIC_KEY", "MY_PRIVATE_KEY"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<api xmlns="http://mashape.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://mashape.com mashape-4.0.xsd "> | |
<authentication type="header"> | |
<description><![CDATA[This is a simple header authentication]]></description> | |
<parameters> | |
<parameter name="X-Pippo-Username" optional="false"> | |
<description><![CDATA[Please enter here your username]]></description> | |
</parameter> | |
<parameter name="X-Pippo-Password" optional="false"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :rubygems | |
gem "json" | |
gem "uuid" | |
gem "ruby-hmac" |
NewerOlder