Git Product home page Git Product logo

dnsimple / dnsimple-api-examples Goto Github PK

View Code? Open in Web Editor NEW
26.0 19.0 16.0 736 KB

Example scripts and code to demonstrate how to use the DNSimple API.

License: MIT License

Ruby 26.66% Shell 6.00% Elixir 7.02% Go 10.55% JavaScript 8.24% Python 10.25% PHP 10.79% Rust 13.47% Procfile 0.12% Dockerfile 0.35% HTML 0.32% HCL 6.24%
dnsimple-policy-eng dnsimple-policy-triage-application dnsimple-policy-group-apiclient

dnsimple-api-examples's Introduction

dnsimple-api-examples's People

Contributors

aeden avatar ags4no avatar dependabot[bot] avatar duduribeiro avatar dxtimer avatar ecomba avatar ggalmazor avatar jacegu avatar jodosha avatar jswright61 avatar onlyhavecans avatar sbastn avatar weppos avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dnsimple-api-examples's Issues

whoami not providing account id

I followed your instructions for creating a user token in the web interface.
I placed that token in token.rb as directed.
When I run ./zone_records.rb example.com, it throws an exception because account in the response object is nil.

#<Dnsimple::Response:0x007fa4862d6630
@DaTa=
#<Dnsimple::Struct::Whoami:0x007fa4862d6900
@account=nil,
@user=
#<Dnsimple::Struct::User:0x007fa4862d6838
@email="[email protected]",
@id=12345>>,
@http_response=
{"data"=>
{"user"=>
{"id"=>12345,
"email"=>"[email protected]",
"created_at"=>"2016-01-15T12:15:36.956Z",
"updated_at"=>"2016-11-16T11:13:15.498Z"},
"account"=>nil}},
@rate_limit=2400,
@rate_limit_remaining=2399,
@rate_limit_reset=2016-11-18 08:47:13 -0500>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.