{"repo":"dnsimple/dnsimple-elixir","free":true,"listed":false,"github":"https://github.com/dnsimple/dnsimple-elixir","clone":"git clone https://github.com/dnsimple/dnsimple-elixir.git","description":"The DNSimple API client for Elixir.","language":"Elixir","stars":57,"topics":["dnsimple-api","dnsimple","api","api-client","elixir","dnsimple-policy-group-apiclient","dnsimple-policy-eng","dnsimple-policy-triage-application"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"DNSimple Elixir Client An Elixir client for the DNSimple API v2. Requirements - OTP 28+ - Elixir 1.19+ - An activated DNSimple account Installation You will have to add the dnsimple app to your mix.exs file as a dependency: And then add it to the list of applications that should be started: Usage From iex From an .exs file Creating a domain You will need: - The account id of the account you want to create the domain for. - The registrant id which is the ID of a contact of the corresponding account. Creating a record You will need: - The account id of the account you want to create the domain for. - The zone id (can be the numeric ID or the name eg. \"example.com\"). Configuration You can configure DNSimple inside of your app's config.exs . For example, if you have a development config, inside dev.exs : Now you can simply call client = %Dnsimple.Client.new from env() . Sandbox Environment We highly recommend testing against our sandbox environment before using our production environment. This will allow you to avoid real purchases, live charges on your credit card, and reduce the chance of your running up against rate limits. The client supports both the production and sandbox environment. To switch to sandbox pass the sandbox API host using the base url option when you construct the client: You will need to ensure that you are using an access token created in the sandbox environment. Production tokens will not work in the sandbox environment. Setting a custom User-Agent header ","default_branch":null,"files":null,"tree":[],"storefront":"/r/dnsimple","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dnsimple/dnsimple-elixir/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}