Coder Social home page Coder Social logo

jkutianski / meetup-api Goto Github PK

View Code? Open in Web Editor NEW
106.0 9.0 27.0 389 KB

meetup-api is an Meetup.com API library written in JavaScript for Node.js V8 and Node.js ChakraCore

License: GNU General Public License v3.0

JavaScript 100.00%
meetup-api javascript nodejs node-module nodejs-modules node runkit meetup api chakracore

meetup-api's Introduction

meetup-api's People

Contributors

boulosdib avatar brentvatne avatar chrisforrette avatar gh-naylor avatar grampelberg avatar jkutianski avatar oocoder avatar randallagordon avatar snyk-bot avatar wvoelcker 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

meetup-api's Issues

Access token not working for oauth

I noticed this in the source

// insert meetupAPIkey only if it exists.  Note: for oauth it requires 
    // that you passed the 'access_token' field instead of 'key' field. 

...but when I pass my token in with the access_token in I get a malformed response. Am I missing something?

Searching groups

Is there a method to get array of groups in the same region? I want to present to my users list of 10 trending groups from city and category that they type in text box.

SyntaxError: Unexpected end of JSON input

On a project using meetup-api, we're occasionally seeing a SyntaxError: Unexpected end of JSON input error from line 367 since the JSON.parse isn't wrapped in a try/catch.

I'm happy to open a PR to add it in, but I was also curious if you might have some insight into how/when this would occur with a Meetup response?

Refresh access token?

How can I refresh an access token? I check on each request whether the TTL is done but I do not see in the docs how to refresh the token once it expires.

CERT_NOT_YET_VALID error - rate limit surpassed?

Hi there,

I am using your library like below. It did work for a while. But now I am receiving this error. Does it mean I surpassed the rate limit?

meetup.getEvent({ urlname: 'ReactStuttgart', id: req.params.id }, (error, event) => {
  if (error) {
    console.log(error);
    res.send(error);
  } else {
    console.log(`Event: ${req.params.id} fetched!`);
    res.json(event);
  }
});
{ Error: certificate is not yet valid
  at TLSSocket.<anonymous> (_tls_wrap.js:1079:38)
  at emitNone (events.js:86:13)
  at TLSSocket.emit (events.js:185:7)
  at TLSSocket._finishInit (_tls_wrap.js:603:8)
  at TLSWrap.ssl.onhandshakedone (_tls_wrap.js:433:38) code: 'CERT_NOT_YET_VALID', response: undefined }

get api not working for oauth for session

Hi,

I notice that for oauth the token needs to be passed for every get request. The issues is that the api expects "access_token" field and is instead passing "key". I made the change locally and it works fine. but I would like to upstream my version of meetup-api. Is there a time-frame or procedure to push or fix my changes?

Thanks,
-- Alex

getUpcomingEvents with topic_category?

Hi, it's not necessarily related to this library as I'm not able to make it work in MeetupAPI console as well, but perhaps someone here can help.

I'm trying to use the 'upcmoingEvents' endpoint with a topic filter using the "topic_category" param, but for some reason this param isn't taken to account.

here is a request for example that should return only events from Business and Career topic (id:2):
https://api.meetup.com/find/upcoming_events?&sign=true&photo-host=public&topic_category=2&page=20&order=time

But the results contain other topics as well.
It doesn't matter how I play with it, the results are just ignoring this param.

Do I miss anything in my request?

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.