Code Monkey home page Code Monkey logo

duffel-api-dotnet's People

Contributors

dependabot[bot] avatar jankowiakmaria avatar jesse-c avatar maartenba avatar piotrwitkowski avatar samhutchings avatar seif avatar sgerrand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

duffel-api-dotnet's Issues

SDK Updated with Documentation

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.

Request to TEST environment using TEST access token fails if production option is set to false

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.

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.