Giter Club home page Giter Club logo

couchsurfing-api's Introduction

Hi there 👋

Se habla español.

couchsurfing-api's People

Contributors

davit-gh avatar pnosko avatar unrob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

couchsurfing-api's Issues

Pagination again

Hi,

I know that this has been an issue before, but I guess one that wasn't solved completely, or the CS site has changed.

Anyway, are you still looking into figuring out the pagination issue for search?

As it stands now, it looks like you can only get 10 users from search with the same options.

I'm looking into it, but have almost no idea what I am doing =p.

The pagination is triggered by this div though when you scroll on the web site.

https://gist.github.com/jphager2/326655e665e135c6597f

John

Send Message

Hey -- awesome work! This should make surfing much easier!

Any idea how to send messages using the CS api?

I'd like to do a search and automatically hit up hosts that meet my criteria.

Thanks!

username or password incorrect

Hi Rob!

First, let me say your API has an amazing functionality!
Q: Where in the code do I put in my username and password?
I'm not strong in Ruby programming, but from what I see in the example file,
it has something to do with the "initialize" module in /lib/CSApi.rb -

def initialize(username, password)
  @username = username
  r = HTTP.post('/sessions', body:{username: username, password: password}.to_json)

  raise CS::AuthError.new("Could not login") if r.code != 200

  @cookies = []
  @cookies=r.headers['Set-Cookie'].split(/;/).first
  #end

Can you please help?

Thanks!

Dor

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.