If you are looking for the methods to manage an alliance, they can be found in the Embassy.
The following methods are available from /alliance
.
Provides a list of the data that's publicly known about this alliance.
{
"profile" : {
"id" : "id-goes-here",
"name" : "Lacuna Expanse Allies",
"description" : "Blah blah blah blah...",
"leader_id" : "id-goes-here",
"date_created" : "01 31 2010 13:09:05 +0600",
"members" : [
{
"id" : "id-goes-here",
"name" : "Lacuna Expanse Corp"
},
...
],
"space_stations" : [
{
"id" : "id-goes-here",
"name" : "The Life Star",
"x" : -342,
"y" : 128
},
...
],
"influence" : 0
},
"status" : { ... }
}
Throws 1002.
A session id.
The id of the alliance for which you'd like to retrieve the public profile.
Find an alliance by name. Returns a hash reference containing alliance ids and alliance names. So if you searched for "Lacuna" you might get back a result set that looks like this:
{
"alliances" : [
{
"id" : "id-goes-here",
"name" : "Lacuna Expanse Allies"
},
{
"id" : "id-goes-here2",
"name" : "Lacuna Pirates"
}
],
"status" : { ... }
}
A session id.
The name your searching for. It's case insensitive, and partial names work fine. Must be at least 3 characters.