# README
ConcertCloudMobilizonBot
A simple bot mirroring events from Concert Cloud to a Mobilizòn instance
Usage of ./ConcertCloudMobilizonBot:
--actor string The Mobilizon actor ID to use as the event organizer.
--authorize Authorize this bot and quit. An auth token and renew token will be output.
--city string The concertcloud API param 'city' (default "X")
--country string The concertcloud API param 'country'
--date string The concertcloud API param 'date'
--group string The Mobilizon group ID to use for the event attribution.
--limit string The concertcloud API param 'limit'
--page string The concertcloud API param 'page'
--radius string The concertcloud API param 'radius'
--register Register this bot and quit. A client id and client secret will be output.
--timezone string The timezone to use for the event attribution. (default "EU/Zurich")
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ten megabytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
Log is our hclog local instance.
NominatumBaseURL is the URL we use to call nominatim.
# Structs
Address represents the OpenStreetMap address for a given place.
AddressInput represents address data in Mobilizòn GraphQL mutations like createEvent and updateEvent FIXME move to a library.
AuthConfig is the OAuth2 response presented by Mobilizòn for authorization and reauthorization.
Event represents the Event objects which is the main part of the concertcloud response.
EventOptionsInput represents the cooresponding Mobilizòn GraphQL type FIXME move to a library.
MediaData represents the mediaUpload object of a GraphQL mediaUpload mutation FIXME move to a library.
MediaInput represents media data in Mobilizòn GraphQL mutations like createEvent and updateEvent.
MediaData represents the response object of a GraphQL mediaUpload mutation FIXME move to a library.
MediaUpload represents the GraphQL MediaUpload type FIXME move to a library.
Options represents the full set of command-line options for the bot.
Place represents a place as returned by openstreetmap.
Response represents the json reponse from https://api.concertcloud.com/ and is used to Unmarshal that json FIXME it might be possible to import this from the official repo.
# Type aliases
DateTime represents the DateTime Mobilizòn GraphQL type FIXME move to a library.
EventCategory represents the list of possible event categories present in Mobilizòn.
EventCommentModeration represents the EventCommentModeration Mobilizòn GraphQL type FIXME move to a library.
EventJoinOptions represents the EventJoinOptions Mobilizòn GraphQL type FIXME move to a library.
EventVisibility represents the EventVisibility Mobilizòn GraphQL type FIXME move to a library.
NominatumResponse represents the response returned from OpenStreetMap.
Point represents the latitude and longitude of a place in Mobilizòn FIXME move to a library.
Timezone represents the cooresponding Mobilizòn GraphQL type FIXME move to a library.
UUID represents the GraphQL UUID type FIXME move to a library.