All URIs are relative to https://localhost/api
| Method | HTTP request | Description |
|---|---|---|
| member_tracking_v1 | GET /app/v1/corporation/{id}/member-tracking | Return corporation member tracking data. |
List[CorporationMember] member_tracking_v1(id, inactive=inactive, active=active, account=account)
Return corporation member tracking data.
Needs role: app-tracking
- Bearer Authentication (BearerAuth):
import neucore_api
from neucore_api.models.corporation_member import CorporationMember
from neucore_api.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to https://localhost/api
# See configuration.py for a list of all supported configuration parameters.
configuration = neucore_api.Configuration(
host = "https://localhost/api"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: BearerAuth
configuration = neucore_api.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with neucore_api.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = neucore_api.ApplicationTrackingApi(api_client)
id = 56 # int | EVE corporation ID.
inactive = 56 # int | Limit to members who have been inactive for x days or longer. (optional)
active = 56 # int | Limit to members who were active in the last x days. (optional)
account = 'account_example' # str | Limit to members with (true) or without (false) an account. (optional)
try:
# Return corporation member tracking data.
api_response = api_instance.member_tracking_v1(id, inactive=inactive, active=active, account=account)
print("The response of ApplicationTrackingApi->member_tracking_v1:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling ApplicationTrackingApi->member_tracking_v1: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | EVE corporation ID. | |
| inactive | int | Limit to members who have been inactive for x days or longer. | [optional] |
| active | int | Limit to members who were active in the last x days. | [optional] |
| account | str | Limit to members with (true) or without (false) an account. | [optional] |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Members ordered by logonDate descending (character and player properties excluded). | - |
| 403 | Not authorized. | - |
| 500 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]