Created
October 24, 2012 01:26
-
-
Save rdegges/3943153 to your computer and use it in GitHub Desktop.
OpenCNAM V2 YAML Example
This file contains hidden or 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
$ curl https://api.opencnam.com/v2/phone/+16502530000?format=yaml | |
{created: !!python/unicode '2012-09-23T16:19:56.265300', name: !!python/unicode 'GOOGLE INC', number: !!python/unicode '+16502530000', price: 0, updated: !!python/unicode '2012-10-23T23:46:23.036676', uri: /v2/phone/%2B16502530000} | |
$ curl -H "Accept: text/yaml" https://api.opencnam.com/v2/phone/+16502530000 | |
{created: !!python/unicode '2012-09-23T16:19:56.265300', name: !!python/unicode 'GOOGLE INC', number: !!python/unicode '+16502530000', price: 0, updated: !!python/unicode '2012-10-23T23:46:23.036676', uri: /v2/phone/%2B16502530000} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment