Skip to content

Instantly share code, notes, and snippets.

@demurgos
Created March 8, 2023 23:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save demurgos/f48fbb7eed4cdccf455e71b9ea7e4bb5 to your computer and use it in GitHub Desktop.
Save demurgos/f48fbb7eed4cdccf455e71b9ea7e4bb5 to your computer and use it in GitHub Desktop.
eMush API
Supported URLs :
/me
/user/id
/historyShip/id
/historyHero/id
/group/id
/curShip
/curHero
/data
Sert certains identifiants de Mush que vous pouvez retrouver sous formes de masques binaires ou d'entier dans les structures de données.
db.User
{
creationDate : Date// mine only ;
freeGroupTicket : Int// mine only ;
hero : Null// mine only ;
historyHeroes : Array// mine only ;
historyShips : Array// mine only ;
id : Int;
mushXp : Int// mine only ;
myGroups : Array// mine only, need scope [groups] ;
paidGroupTicket : Int// mine only ;
xp : Int// mine only ;
}
db.HistoryShip
{
conf : Flags ;
counter_all_spore : Int ;
counter_explo : Int ;
counter_hunter_dead : Int ;
counter_mushes : Int ;
counter_planet_scanned : Int ;
counter_projects : Int ;
counter_rebel_bases : Int ;
counter_research : Int ;
creationDate : Date ;
deathCycle : Int ;
destructionDate : Date ;
group : Group ;
id ;
pilgredDone : Bool ;
projects : Array ;
researches : Array ;
season : Season ;
shipId : Int ;
triumphRemap : JSON ;
}
db.HistoryHero
{
charId : HeroId ;
date : Date ;
deathCycle : Int ;
deathId : DeathId ;
deathLocation : RoomId ;
epitaph : String ;
group : Group ;
heroId : Id ;
log : Array ;
rank : Int ;
season : Season ;
shipId : Int ;
skillList : Array ;
triumph : Int ;
user : User ;
wasMush : Bool ;
}
db.Season
{
desc : String ;
id : Int ;
options : Array ;
picto : String ;
publicName : String ;
start : Date ;
}
db.Group
{
avatar : String ;
banner : String;
creation : Date ;
desc : String;
domain : String;
domain : String;
id : Int;
invests : Int ;
name : String;
resultDesc : String ;
triumphRemap : JSON ;
xp : Int ;
}
db.Hero
{
consummedPa : Int// mine only ;
counter_hunterDown : Int// mine only ;
counter_plannerScanned : Int// mine only ;
creationDate : Date// mine only ;
currentPa : Array /*[GEN,MOV,ENG,EXP,COMP,GARDEN,CORE,SHOOT,COOK,HEAL,PILGRED]*/// mine only ;
dead : Bool// mine only ;
heroTriumph : Int// mine only ;
hp : Int// mine only ;
id : Int// mine only ;
isMale : Bool// mine only ;
isMush : Bool// mine only ;
location : RoomId// mine only ;
moral : Int// mine only ;
nurture : Int// mine only ;
ship : Ship// mine only ;
sporeThisDay : Int// mine only ;
spores : Int// mine only ;
wastedPa : Int// mine only ;
}
db.Ship
{
armor : Int// mine only ;
counter_exploration : Int// mine only ;
counter_projects : Int// mine only ;
counter_research : Int// mine only ;
creationDate : Date// mine only ;
currentCycle : Int// mine only ;
currentOrientation : Int// mine only ;
dailyOrder : String// mine only ;
dailyOrderDate : DateTime// mine only ;
destructionDate : Date// mine only ;
enginePipeline : Int// mine only ;
fuel : Int// mine only ;
group : Null// mine only ;
hp : Int// mine only ;
inConf : Flags// mine only ;
o2 : Int// mine only ;
projects : Array// mine only ;
researches : Array// mine only ;
season : Season// mine only ;
shield : Int// mine only ;
startDate : Date// mine only ;
triumphRemap : Null// mine only ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment