Coder Social home page Coder Social logo

cfapi_attendance_sync's Introduction

CfAPI_Attendance_Sync

A real hacked together attempt to push Attendence data into the CfAPI. Our first goal is Meetup. Currently we are fetching attendee data from Meetup and formatting it to push to the CfAPI.

Requirements

  • Python
  • Virtualenv

Install

git clone
cd cfapi_attendance_sync
virtualenv env
source env/bin/activate
pip install -r requirements.txt

Run It

This will fetch attendees from all of your events from the past week and push them to the CfAPI:

CFAPI_ORG_ID=Open-Twin-Cities MEETUP_GROUP_URLNAME=OpenTwinCities MEETUP_API_KEY=OurKey ./app.py

Need to specify a different timeframe? Just define the MEETUP_TIME_FRAME environment variable, which uses Meetup's time frame syntax: <beginning>,<end>, where either time can be the number of milliseconds since the start of the Unix epoch, a string representing a relative time (e.g. -1m for one month in the past, 1w for one week in the future), or nothing to indicate the beginning/end of time.

Sync attendees from all of the events you've ever had:

MEETUP_TIME_FRAME=, CFAPI_ORG_ID=Open-Twin-Cities MEETUP_GROUP_URLNAME=OpenTwinCities MEETUP_API_KEY=OurKey ./app.py

Sync attendees from all events in the last day:

MEETUP_TIME_FRAME=-1d, CFAPI_ORG_ID=Open-Twin-Cities MEETUP_GROUP_URLNAME=OpenTwinCities MEETUP_API_KEY=OurKey ./app.py

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.