core/homeassistant/components/foursquare/services.yaml

74 lines
2.5 KiB
YAML

checkin:
name: Check in
description: Check a user into a Foursquare venue.
fields:
alt:
name: Altitude
description: Altitude of the user's location, in meters.
example: 0
selector:
text:
altAcc:
name: Altitude accuracy
description: Vertical accuracy of the user's location, in meters.
example: 1
selector:
text:
broadcast:
name: Broadcast
description: >-
Who to broadcast this check-in to. Accepts a comma-delimited
list of values: private (off the grid) or public (share with friends), facebook
share on facebook, twitter share on twitter, followers share with followers
(celebrity mode users only), If no valid value is found, the default is public.
example: "public,twitter"
selector:
text:
eventId:
name: Event ID
description: The event the user is checking in to.
example: UHR8THISVNT
selector:
text:
ll:
name: Latitude/Longitude
description: >-
Latitude and longitude of the user's location. Only specify
this field if you have a GPS or other device reported location for the user
at the time of check-in.
example: "33.7,44.2"
selector:
text:
llAcc:
name: Latitude/Longitude accuracy
description: Accuracy of the user's latitude and longitude, in meters.
example: 1
selector:
text:
mentions:
name: Mentions
description: >-
Mentions in your check-in. This parameter is a semicolon-delimited
list of mentions. A single mention is of the form "start,end,userid", where
start is the index of the first character in the shout representing the mention,
end is the index of the first character in the shout after the mention, and
userid is the userid of the user being mentioned. If userid is prefixed with
"fbu-", this indicates a Facebook userid that is being mention. Character
indices in shouts are 0-based. [Optional]
example: "5,10,HZXXY3Y;15,20,GZYYZ3Z;25,30,fbu-GZXY13Y"
selector:
text:
shout:
name: Shout
description: A message about your check-in. The maximum length of this field is 140 characters.
example: There are crayons! Crayons!
selector:
text:
venueId:
name: Venue ID
description: The Foursquare venue where the user is checking in.
required: true
example: IHR8THISVNU
selector:
text: