Pointagram¶
The Pointagram modules enable you to monitor, list, create, update, or add players to the team in your Pointagram account.
Getting Started with Pointagram¶
Prerequisites
- A Pointagram account
In order to use Pointagram with Ibexa Connect, it is necessary to have a Pointagram account. If you do not have one, you can create a Pointagram account at Pointagram.
Note
The module dialog fields that are displayed in bold (in the Ibexa Connect scenario, not in this documentation article) are mandatory!
Connecting Pointagram to Ibexa Connect¶
To connect your Pointagram account to Ibexa Connect you need to obtain the API Key from your Pointagram account.
-
Log in to your Pointagram account.
-
Click on your profile icon on the top of the page and open Settings.
-
Go to Integrations and enter your password to log in.
-
Select the Custom option to add a new custom integration and click on the Create Credentials button.
-
Click the Show Key button and copy the provided Authentication key.
-
Go to Ibexa Connect and open the Pointagram module's Create a connection dialog.
-
Enter your email address to the Login field and the API Key you have copied in step 5 to the respective field and click the Continue button to establish the connection.
The connection has been established. You can proceed with setting up the module.
Player¶
List Players¶
Searches for players by name, email or external ID.
Filter | Enter the search term (depends on the option selected in the Search by field below). |
Search by | Select whether you want to search by player's name, email or external ID. |
Limit | Set the maximum number of players Ibexa Connect will return during one execution cycle. |
Create a Player¶
Creates a new player.
Player Name | Enter the name of the player in Pointagram. |
Player Email | Enter the email address of the player. Used for sending invitation. |
Player External ID | Enter the ID you can provide as a unique identifier for the player. |
Player Status | Select whether the new player is online or offline. An online player will receive an invitation to log on to Pointagram. Note, you can create players as offline players and convert them later in Pointagram. |
Update a Player¶
Updates the name or email of an existing player.
Player Name | Enter the external ID of the player you want to update. |
New Player Name | Enter the new name of the player. |
New Player Email | Enter the new email address of the player. |
Add a Player to a Team¶
Adds a player to a team in Pointagram.
Player Name | Select the player or map the ID of the player you want to add to a team. |
Team Name | Select the team or map the ID of the team you want to add the player to. |
Delete a Player from a Team¶
Removes a player from a team.
Team | Select the team or map the ID of the team you want to remove the player from. |
Player Name | Select the player or map the ID of the player you want to remove from the team. |
Watch Players¶
Retrieves player details when a new player is created.
Limit | Set the maximum number of players Ibexa Connect will return during one execution cycle. |
Points¶
Add Points¶
Adds points to the player in the score series.
Player | Select or map the ID of the player you want to add points to. |
Points | Enter the number of points you want to add. |
Scoreserie Name | Select the score series you want to add points to. |
Make an API Call¶
Allows you to perform a custom API call.
URL |
Enter a path relative to E.g. | For the list of available endpoints, refer to the Pointagram Custom API documentation. |
Method
Select the HTTP method you want to use:
GET
to retrieve information for an entry.
POST
to create a new entry.
PUT
to update/replace an existing entry.
PATCH
to make a partial entry update.
DELETE
to delete an entry.
Headers
Enter the desired request headers. You don't have to add authorization headers; we already did that for you.
Query String
Enter the request query string.
Body
Enter the body content for your API call.
Example of Use - List Players¶
The following API call returns all players in your Pointagram account:
URL:
/list_players
Method:
GET
The result can be found in the module's Output under Bundle > Body.
In our example, 2 players were returned: