Page 2 of 2

Re: Takeover Feed

Posted: 02 Apr 2021 15:54
by DIProgan
I see. Here's one with 3 assists.

Code: Select all

   {
"zone": {
"previousOwner": {
"name": "AudioPelle",
"id": 63238
},
"dateLastTaken": "2021-04-02T13:14:57+0000",
"latitude": 58.662679,
"totalTakeovers": 5915,
"type": {
"name": "Bridge",
"id": 8
},
"pointsPerHour": 5,
"takeoverPoints": 125,
"dateCreated": "2014-10-04T08:32:27+0000",
"currentOwner": {
"name": "kompassen",
"id": 41173
},
"name": "P\u00e5Kanalen",
"id": 37493,
"region": {
"area": {
"name": "Oxel\u00f6sunds kommun",
"id": 1849
},
"country": "se",
"name": "S\u00f6dermanland",
"id": 140
},
"longitude": 17.096161
},
"assists": [
{
"name": "solkatten",
"id": 51204
},
{
"name": "hommuli",
"id": 64758
},
{
"name": "champiz",
"id": 41099
}
],
"latitude": 58.662679,
"currentOwner": {
"name": "kompassen",
"id": 41173
},
"time": "2021-04-02T13:14:57+0000",
"type": "takeover",
"longitude": 17.096161
},

Re: Takeover Feed

Posted: 03 Apr 2021 00:46
by Megachip
Damn,

Code: Select all

dateLastTaken == time
:( ... so not useful to figure out how long the user before hold the zone :/

Re: Takeover Feed

Posted: 07 Apr 2021 11:53
by embeoo
For assists there will be an additional structure with the assistees. I can't remember the exact name/structure, but as they are very common you will see one shortly in the feed.

Re: Takeover Feed

Posted: 08 Apr 2021 16:03
by Megachip
embeoo wrote: 07 Apr 2021 11:53 For assists there will be an additional structure with the assistees. I can't remember the exact name/structure, but as they are very common you will see one shortly in the feed.
I've got this already here thanks to DIProgan.

Feeds are done ftm. Maybe except a useful time formatting (atm everything is in UTC instead of local time)

So if anybody wanna have a group with filtered feed (supporting Regions and Municipals), either tell me which Region/Municipal or invite the bot and send me the group/channel ID.

Re: Takeover Feed

Posted: 08 Apr 2021 16:25
by Megachip
Megachip wrote: 26 Mar 2021 15:37 any way to get the latest takeovers (of an region) by feed/api etc? Seen V3 API had such feature, but isn't working anymore...
Ah, V3 seems still working, except the RSS part ^^

Re: Takeover Feed

Posted: 08 Apr 2021 23:18
by DIProgan
Megachip wrote: 08 Apr 2021 16:03So if anybody wanna have a group with filtered feed (supporting Regions and Municipals), either tell me which Region/Municipal or invite the bot and send me the group/channel ID.
Discord bot?

Re: Takeover Feed

Posted: 09 Apr 2021 13:04
by Megachip
DIProgan wrote: 08 Apr 2021 23:18
Megachip wrote: 08 Apr 2021 16:03So if anybody wanna have a group with filtered feed (supporting Regions and Municipals), either tell me which Region/Municipal or invite the bot and send me the group/channel ID.
Discord bot?
Telegram. You can see here how it works (atm) - no integratomat anymore ;) - to limited.