AkaXiiaoBii / mdoujin_v2_public_updates

The repository is for public report issues and updates progress
5 stars 0 forks source link

FR: create json api #9

Open jerrywoo96 opened 1 year ago

jerrywoo96 commented 1 year ago

I would like to create my own project, to consume a json format of the list of events, and convert it to ical format using python flask.

For example this link, https://www.mdoujin.com/events?event_state=EMPTY%2CJHR&sortMethod=UPCOMING&showActiveEvent=true

I will call a get request to

https://www.mdoujin.com/json?event_state=EMPTY%2CJHR&sortMethod=UPCOMING&showActiveEvent=true

It will return the json representation of the results, i will convert it to ical in my flask application.

I'm not sure if you still have plans to create an ical endpoint, but i find it handy to have events updated in my calendar automatically rather than visiting the page often.

AkaXiiaoBii commented 1 year ago

Hi @jerrywoo96 , thanks for your message,

Yup, I will be planning to implement REST API endpoint in the future time when developing new UI,

For my current initial idea, the 1st version will be free access REST API, and after a certain period ends need to be pay to use the API service or free limited access version.

Just for your information, thank you for your interest in REST API related part.