Giter VIP home page Giter VIP logo

Comments (8)

cwant avatar cwant commented on June 12, 2024 1

Some research ...

The auth console is quite handy for modeling queries (meetup login required):

https://secure.meetup.com/meetup_api/console/?path=/:urlname/events

The /:urlname/events method is the most relevant, in particular filling in 'startupedmonton' in the URL form field, generates queries like:

https://api.meetup.com/startupedmonton/events?&sign=true&photo-host=public&page=20

Returns multiple events, output looks like this:

[
{
"created": 1467591400000,
"duration": 10800000,
"id": "232356306",
"name": "Exchange.js Hackup",
"rsvp_limit": 15,
"status": "upcoming",
"time": 1467937800000,
"updated": 1467930697000,
"utc_offset": -21600000,
"waitlist_count": 2,
"yes_rsvp_count": 15,
"venue": {
"id": 24586003,
"name": "Jobber",
"lat": 53.54136657714844,
"lon": -113.50165557861328,
"repinned": false,
"address_1": "10520 Jasper Ave",
"city": "Edmonton ",
"country": "CA",
"localized_country_name": "Canada"
},
"group": {
"created": 1318829951000,
"name": "Startup Edmonton",
"id": 2660622,
"join_mode": "open",
"lat": 53.54999923706055,
"lon": -113.5,
"urlname": "startupedmonton",
"who": "Community Members"
},
"link": "http://www.meetup.com/startupedmonton/events/232356306/",
"description": "

We're getting together to hack on a new website and other projects for next year. Come join us to help out or bring your own!

",
"how_to_find_us": "The front door and elevator for Jobber's office should be open from 6:30 7:30, if not call 780-862-6285. When you arrive please come to the 4th floor, it'll be the only one you can access at that time. More in comments.",
"visibility": "public"
},
.
.
.

from exchangejs.com.

Gnarlywhale avatar Gnarlywhale commented on June 12, 2024 1

According to the meetup github api guide, users are limited to 200 requests an hour before they get served a 400 error. I believe this is specifically in the case of authenticated api requests, but I think it is reasonable to assume it's the same for un-authenticated requests as well.

I'm guessing we can probably work with that.

from exchangejs.com.

Gnarlywhale avatar Gnarlywhale commented on June 12, 2024 1

Yeah I think it should work fine.

Also added 'description' to the fiddle, could be useful.

from exchangejs.com.

cwant avatar cwant commented on June 12, 2024

By the way, what's interesting is that the above URL query generated with the API console returns data whether the user is logged into meetup or not (in other words, no API key is needed).

from exchangejs.com.

cwant avatar cwant commented on June 12, 2024

Small proof of concept:

https://jsfiddle.net/cwant/x6xsbuz0/12/

from exchangejs.com.

MarkBennett avatar MarkBennett commented on June 12, 2024

Interesting, thanks @cwant. I wonder if that means we can do without the server side for now?

from exchangejs.com.

cwant avatar cwant commented on June 12, 2024

I wonder that too. The proof of context seems to indicate that it's possible. Maybe the number of requests per day is limited, or there is some other restriction. It was a bit of a surprise being able to set up the proof of concept without an API key.

from exchangejs.com.

MarkBennett avatar MarkBennett commented on June 12, 2024

Why don't we give it ago without the server component then, and see we run into problems?

from exchangejs.com.

Related Issues (7)

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.