All URIs are relative to https://localhost/api
| Method | HTTP request | Description |
|---|---|---|
| CharacterListV1 | Post /app/v1/character-list | Returns all known characters from the parameter list. |
| CharactersBulkV1 | Post /app/v1/characters | Returns all characters from multiple player accounts identified by character IDs. |
| CharactersV1 | Get /app/v1/characters/{characterId} | Returns all characters of the player account to which the character ID belongs. |
| CorporationCharactersV1 | Get /app/v1/corp-characters/{corporationId} | Returns a list of all known characters from the corporation. |
| CorporationPlayersV1 | Get /app/v1/corp-players/{corporationId} | Returns a list of all players that have a character in the corporation. |
| IncomingCharactersV1 | Get /app/v1/incoming-characters/{characterId} | Returns all characters that were moved from another account to the player account to which the ID belongs. |
| MainV1 | Get /app/v1/main/{cid} | Returns the main character of the player account to which the character ID belongs. |
| MainV2 | Get /app/v2/main/{cid} | Returns the main character of the player account to which the character ID belongs. |
| PlayerCharactersV1 | Get /app/v1/player-chars/{playerId} | Returns all characters from the player account. |
| PlayerV1 | Get /app/v1/player/{characterId} | Returns the player account to which the character ID belongs. |
| PlayerWithCharactersV1 | Get /app/v1/player-with-characters/{characterId} | Returns the player account to which the character ID belongs with all characters. |
| PlayersV1 | Post /app/v1/players | Returns player accounts identified by character IDs. Can contain the same player several times. |
| RemovedCharactersV1 | Get /app/v1/removed-characters/{characterId} | Returns all characters that were removed from the player account to which the character ID belongs. |
[]Character CharacterListV1(ctx).RequestBody(requestBody).Execute()
Returns all known characters from the parameter list.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
requestBody := []int32{int32(123)} // []int32 | Array with EVE character IDs.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.CharacterListV1(context.Background()).RequestBody(requestBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.CharacterListV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CharacterListV1`: []Character
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.CharacterListV1`: %v\n", resp)
}Other parameters are passed through a pointer to a apiCharacterListV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | []int32 | Array with EVE character IDs. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[][]int32 CharactersBulkV1(ctx).RequestBody(requestBody).Execute()
Returns all characters from multiple player accounts identified by character IDs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
requestBody := []int32{int32(123)} // []int32 | EVE character IDs array.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.CharactersBulkV1(context.Background()).RequestBody(requestBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.CharactersBulkV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CharactersBulkV1`: [][]int32
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.CharactersBulkV1`: %v\n", resp)
}Other parameters are passed through a pointer to a apiCharactersBulkV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | []int32 | EVE character IDs array. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Character CharactersV1(ctx, characterId).Execute()
Returns all characters of the player account to which the character ID belongs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
characterId := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.CharactersV1(context.Background(), characterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.CharactersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CharactersV1`: []Character
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.CharactersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| characterId | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiCharactersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Character CorporationCharactersV1(ctx, corporationId).Execute()
Returns a list of all known characters from the corporation.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
corporationId := int32(56) // int32 | EVE corporation ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.CorporationCharactersV1(context.Background(), corporationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.CorporationCharactersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CorporationCharactersV1`: []Character
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.CorporationCharactersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| corporationId | int32 | EVE corporation ID. |
Other parameters are passed through a pointer to a apiCorporationCharactersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Player CorporationPlayersV1(ctx, corporationId).Execute()
Returns a list of all players that have a character in the corporation.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
corporationId := int32(56) // int32 | EVE corporation ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.CorporationPlayersV1(context.Background(), corporationId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.CorporationPlayersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `CorporationPlayersV1`: []Player
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.CorporationPlayersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| corporationId | int32 | EVE corporation ID. |
Other parameters are passed through a pointer to a apiCorporationPlayersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]RemovedCharacter IncomingCharactersV1(ctx, characterId).Execute()
Returns all characters that were moved from another account to the player account to which the ID belongs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
characterId := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.IncomingCharactersV1(context.Background(), characterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.IncomingCharactersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `IncomingCharactersV1`: []RemovedCharacter
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.IncomingCharactersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| characterId | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiIncomingCharactersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Character MainV1(ctx, cid).Execute()
Returns the main character of the player account to which the character ID belongs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
cid := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.MainV1(context.Background(), cid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.MainV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `MainV1`: Character
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.MainV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| cid | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiMainV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Character MainV2(ctx, cid).Execute()
Returns the main character of the player account to which the character ID belongs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
cid := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.MainV2(context.Background(), cid).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.MainV2``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `MainV2`: Character
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.MainV2`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| cid | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiMainV2Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Character PlayerCharactersV1(ctx, playerId).Execute()
Returns all characters from the player account.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
playerId := int32(56) // int32 | Player ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.PlayerCharactersV1(context.Background(), playerId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.PlayerCharactersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PlayerCharactersV1`: []Character
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.PlayerCharactersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| playerId | int32 | Player ID. |
Other parameters are passed through a pointer to a apiPlayerCharactersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Player PlayerV1(ctx, characterId).Execute()
Returns the player account to which the character ID belongs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
characterId := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.PlayerV1(context.Background(), characterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.PlayerV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PlayerV1`: Player
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.PlayerV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| characterId | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiPlayerV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Player PlayerWithCharactersV1(ctx, characterId).Execute()
Returns the player account to which the character ID belongs with all characters.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
characterId := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.PlayerWithCharactersV1(context.Background(), characterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.PlayerWithCharactersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PlayerWithCharactersV1`: Player
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.PlayerWithCharactersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| characterId | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiPlayerWithCharactersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PlayerWithCharcterId PlayersV1(ctx).RequestBody(requestBody).Execute()
Returns player accounts identified by character IDs. Can contain the same player several times.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
requestBody := []int32{int32(123)} // []int32 | EVE character IDs array.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.PlayersV1(context.Background()).RequestBody(requestBody).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.PlayersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `PlayersV1`: []PlayerWithCharcterId
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.PlayersV1`: %v\n", resp)
}Other parameters are passed through a pointer to a apiPlayersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|---|---|---|
| requestBody | []int32 | EVE character IDs array. |
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]RemovedCharacter RemovedCharactersV1(ctx, characterId).Execute()
Returns all characters that were removed from the player account to which the character ID belongs.
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/bravecollective/neucore-api-go"
)
func main() {
characterId := int32(56) // int32 | EVE character ID.
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.ApplicationCharactersAPI.RemovedCharactersV1(context.Background(), characterId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `ApplicationCharactersAPI.RemovedCharactersV1``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `RemovedCharactersV1`: []RemovedCharacter
fmt.Fprintf(os.Stdout, "Response from `ApplicationCharactersAPI.RemovedCharactersV1`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| characterId | int32 | EVE character ID. |
Other parameters are passed through a pointer to a apiRemovedCharactersV1Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]