A client library for the TransIP API
A .Net Core client library for the TransIP Api, based on the original work of jwvdiermen.
NuGet:
PM> Install-Package TransIP.NET
Here are some code example on how to use the TransIP.NET package, currently only the DomainService is supported.
usingTransIp.Api;usingTransIp.Api.Dto;//// Retrieve current DNS entries and add a record//vardomainService=newDomainService("YourUsername",ClientMode.ReadWrite,"YourPrivateKey");varinfo=awaitdomainService.GetInfoAsync("example.com");varentries=info.DnsEntries.ToList();entries.Add(newDnsEntry{Name="local",Type=DnsEntryType.A,Expire=3600,// 1 hourContent="127.0.0.1"});awaitdomainService.SetDnsEntriesAsync("example.com",entries.ToArray());- 1.1.0
- Added
asyncmethods - Added
ToString()method forDnsEntry
- Added
- 1.0.0
- Initial release
- Add other services
- Re-add unit tests
- Write more example code
- Fork it (https://github.com/WouterJanson/TransIP.NET/fork)
- Create your feature branch (
git checkout -b feature/fooBar) - Commit your changes (
git commit -am 'Add some fooBar') - Push to the branch (
git push origin feature/fooBar) - Create a new Pull Request
Thanks to jwvdiermen for the initial version 4 years ago.