Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.foursquare.FoursquarePushReceiver Class Reference
Inheritance diagram for homeassistant.components.foursquare.FoursquarePushReceiver:
[legend]
Collaboration diagram for homeassistant.components.foursquare.FoursquarePushReceiver:
[legend]

Public Member Functions

None __init__ (self, str push_secret)
 
web.Response|None post (self, web.Request request)
 

Public Attributes

 push_secret
 

Static Public Attributes

string name = "foursquare"
 
bool requires_auth = False
 
string url = "/api/foursquare"
 

Detailed Description

Handle pushes from the Foursquare API.

Definition at line 82 of file __init__.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.components.foursquare.FoursquarePushReceiver.__init__ (   self,
str  push_secret 
)
Initialize the OAuth callback view.

Definition at line 89 of file __init__.py.

Member Function Documentation

◆ post()

web.Response | None homeassistant.components.foursquare.FoursquarePushReceiver.post (   self,
web.Request  request 
)
Accept the POST from Foursquare.

Definition at line 93 of file __init__.py.

Member Data Documentation

◆ name

string homeassistant.components.foursquare.FoursquarePushReceiver.name = "foursquare"
static

Definition at line 87 of file __init__.py.

◆ push_secret

homeassistant.components.foursquare.FoursquarePushReceiver.push_secret

Definition at line 91 of file __init__.py.

◆ requires_auth

bool homeassistant.components.foursquare.FoursquarePushReceiver.requires_auth = False
static

Definition at line 85 of file __init__.py.

◆ url

string homeassistant.components.foursquare.FoursquarePushReceiver.url = "/api/foursquare"
static

Definition at line 86 of file __init__.py.


The documentation for this class was generated from the following file: