New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Event Schedule #631

Closed
izenn opened this Issue Apr 15, 2015 · 3 comments

Comments

Projects
None yet
2 participants
@izenn
Copy link

izenn commented Apr 15, 2015

What format do you need the data in so that it can be imported?

I'm thinking similar to the API:
[
{
"country": 2,
"group_name": "D",
"starts_at": "2014-01-08T07:00:00Z",
"title": "Dungeon of Emerald Dragons"
},
...
]

I'm currently writing a php script that will get it from pdx and want to make sure that it can be used by you

@izenn

This comment has been minimized.

Copy link

izenn commented Apr 20, 2015

I have a php script that can be run that will scrape the NA schedule off of pdx. How can i submit it for use?

Here is a sample output (from today):

[
  {
    "country": 2,
    "group_name": "A"
    "starts_at": "2015-04-20T19:00:00+0000"
    "title": "Evo Materials Unite!"
  },
  {
    "country": 2,
    "group_name": "A"
    "starts_at": "2015-04-20T21:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "A"
    "starts_at": "2015-04-21T02:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "A"
    "starts_at": "2015-04-21T02:00:00+0000"
    "title": "Revenge of the Ruby Dragons"
  },
  {
    "country": 2,
    "group_name": "A"
    "starts_at": "2015-04-21T04:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "B"
    "starts_at": "2015-04-20T16:00:00+0000"
    "title": "Evo Materials Unite!"
  },
  {
    "country": 2,
    "group_name": "B"
    "starts_at": "2015-04-20T18:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "B"
    "starts_at": "2015-04-20T23:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "B"
    "starts_at": "2015-04-20T23:00:00+0000"
    "title": "Revenge of the Ruby Dragons"
  },
  {
    "country": 2,
    "group_name": "B"
    "starts_at": "2015-04-21T04:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "C"
    "starts_at": "2015-04-20T14:30:00+0000"
    "title": "Evo Materials Unite!"
  },
  {
    "country": 2,
    "group_name": "C"
    "starts_at": "2015-04-20T17:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "C"
    "starts_at": "2015-04-20T21:30:00+0000"
    "title": "Revenge of the Ruby Dragons"
  },
  {
    "country": 2,
    "group_name": "C"
    "starts_at": "2015-04-20T22:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "C"
    "starts_at": "2015-04-21T03:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "D"
    "starts_at": "2015-04-20T14:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "D"
    "starts_at": "2015-04-20T17:30:00+0000"
    "title": "Evo Materials Unite!"
  },
  {
    "country": 2,
    "group_name": "D"
    "starts_at": "2015-04-20T19:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "D"
    "starts_at": "2015-04-21T00:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "D"
    "starts_at": "2015-04-21T00:30:00+0000"
    "title": "Revenge of the Ruby Dragons"
  },
  {
    "country": 2,
    "group_name": "E"
    "starts_at": "2015-04-20T15:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "E"
    "starts_at": "2015-04-20T20:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "E"
    "starts_at": "2015-04-20T20:30:00+0000"
    "title": "Evo Materials Unite!"
  },
  {
    "country": 2,
    "group_name": "E"
    "starts_at": "2015-04-21T01:00:00+0000"
    "title": "Deity of Merit - Legend"
  },
  {
    "country": 2,
    "group_name": "E"
    "starts_at": "2015-04-21T03:30:00+0000"
    "title": "Revenge of the Ruby Dragons"
  }
]
@madcowfred

This comment has been minimized.

Copy link
Owner

madcowfred commented May 9, 2015

For now I've just updated the code to use the newer wiki as a source, if you want to email your thing to me (freddie at padherder dot com) I'll look at adding it as another source - should probably have some resilience!

@izenn

This comment has been minimized.

Copy link

izenn commented May 24, 2015

I thought i sent it to you a couple weeks ago, but i couldn't find the e-mail in my sent box. I just sent the code

@madcowfred madcowfred closed this Jan 1, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment