Giter VIP home page Giter VIP logo

sk-api's Introduction

sk-api's People

Contributors

schorsch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sk-api's Issues

create client response is always 406

client is created, but response still is 406

we are using json and also tried other formats, but no success so far
config = {
...
:format => :json
}

ActiveResource::ClientError: Failed. Response code = 406. Response message = Not Acceptable.

allow per_page / limit

when we search by email/number we only want the first result, no need to fetch and parse 100 records <-> support &per_page=1

basic active-resource active-resource 2.3 support

it would be great if simple stuff like save could also work in 2.3, the generated http requests should not be that different (we just tried and requests look roughly the same) only problem is that we are getting http 500 errors from salesking

organisation should be optional for new clients

Could be automatically set to subdomain,
in your example organisation was missing

we used this:
organisation = SKApi::Resources::Base.connection.site.host.split('.').first

client = SKApi::Resources::Client.new(
  :organisation => organisation,
  ....
)

can not run tests

without a local salesking installation, please provide a test account live/staging etc

Cheers
Mark

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.