Jump to content

MOReg

Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi Richard, have you tried using a library such: as https://oauthlib.readthedocs.io/en/latest/index.html Please let us know how this goes as I would like to review and possibly use python to access api also.
  2. Hi Support, I'm trying to test trail balance endpoint using postman. I get my token first and then do a get to the following URL: https://api.accounting.sage.com/v3.1/trial_balance?from_date=2021-01-01&to_date=2021-06-01 I'm returned this message "ERROR: The request could not be satisfied 403 ERROR The request could not be satisfied. Bad request. We can't connect to the server for this app or website at this time. There might be too much traffic or a configuration error. Try again later, or contact the app or website owner." I have checked my accounts acce
  3. I switched from python generating the code to a java version found https://swagger.io/docs/open-source-tools/swagger-codegen/ and used command java -jar swagger-codegen-cli-2.2.1.jar generate -i <path of your Swagger specification> -l <language> I havent tried out the code yet but at least generated!
  4. Hi All, I'm trying to generate python3.8 code from the swagger file at "https://developer.sage.com/api/accounting/files/swagger.full.json". It appears to me that swagger 2 is used by swagger.full.json and pip install swagger_codegen installs swagger 3. I cant find a version of swagger_codegen that will work with swagger 2 I've tried to convert the swagger 2 file to swagger 3 I'm using python but maybe there is a better way? Is c# more reliable for example? Any help with this would be appreciated! Mark
×
×
  • Create New...