duffelhq / duffel-api-dotnet Goto Github PK
View Code? Open in Web Editor NEWDotNet client library for the Duffel API
License: MIT License
DotNet client library for the Duffel API
License: MIT License
We are using this SDK and wanted to know if all the methods mentioned in the documentation by way of curl or javascript API's will be implemented. There are several things missing which are in documentation but not yet appearing in the SDK. I can understand this is a RC3 candidate as yet. But if your plan is to keep all features across SDKS in line, alongside curl examples, please let us know.
And if yes, what is the expected timeline ? We would be then using the .Net Core SDK instead of writing our own using Http Client within .Net Core.
Hi folks,
Would it be possible to publish a new version of the NuGet package, including latest changes?
Thank you! ๐
If i create the client object with TEST access token and production option set to false then request to any api endpoint fails with the status code 401 with error 'The access token you have used is not a valid API access token'. See below how the client object is initiated. and the subsequent error message
DuffelApiClient client = new DuffelApiClient("duffel_test_*******************************************", production: false);
Requesting offers
Failed with status: 401, request Id: FvK_lY1J3sT3G5cAAPwC
The access token you have used is not a valid API access token
But if i create the client object with TEST access token but change the production option to true then the code works against any api endpoints on TEST environment and executes all my requests successfully.
DuffelApiClient client = new DuffelApiClient("duffel_test_*******************************************", production: true);
So the option for production actually stops the api calls to TEST environment if set to false, which I presume is required for TEST environment calls.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.