kinshukdua / LiveActionMap

An attempt to map the areas with active conflict in Ukraine using twitter data and NLP.
https://www.live-action-map.com
MIT License
172 stars 15 forks source link

API: Markers #40

Open DomiiBunn opened 2 years ago

DomiiBunn commented 2 years ago

Create a GET API serving /api/markers providing a response containing all currently available markers.

Expected response

{
    "markers": [
        {
            "position": [
                49.038230248475905,
                31.450182690663947
            ],
            "title": "Twit Title with image",
            "content": "",
            "user": "Twitter User",
            "uri": "https://twitter/postUrl",
            "image": "imageURL",
            "timestamp": "unixtimestamp of tweet"
        },
        {
            "position": [
                48.038230248475905,
                31.450182690663947
            ],
            "title": "Twit Title without image",
            "content": "Twit Text",
            "user": "Twitter User",
            "uri": "https://twitter/postUrl",
            "timestamp": "unixtimestamp of tweet"
        }
    ],
    "timestamp": "unixTimeStamp"
}
denquinlan commented 2 years ago

I'd like to help work on this

DomiiBunn commented 2 years ago

Currently the project seams dead. I was planning on re-incarnating it using NodeJS but currently don't have the time. If you'd like to pick something up you can give me a poke on discord to discuss things. There is a link to discord in the Readme ^.^