DataExtractor01

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

DataExtractor01

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PiscineQuery = `` /* 365-byte string literal not displayed */
View Source
var ProgressData string = `` /* 1786-byte string literal not displayed */
View Source
var RaidQuery = `` /* 432-byte string literal not displayed */

Functions

func ExtractData

func ExtractData(idUser int) (string, error)

func Init

func Init(client api01.Client, idUser int) ([]Piscine, Raids)

Types

type Piscine

type Piscine struct {
	Amount    int
	IsBonus   bool
	Path      string
	UserLogin string
	Object    struct {
		Name    string
		Parents []struct {
			Paths []struct {
				Path string
			}
			// Difficulty int
			Parent struct {
				QuestName string
				Parents   []struct {
					EventName struct {
						Name string
					}
				}
			}
		}
	}
}

type Raids

type Raids []struct {
	Level int `default:"0"`
	Xp    struct {
		Amount int `default:"0"`
	}
	Event struct {
		Status     string `default:"incomplete"`
		Progresses []struct {
			Grade float32 `default:"0"`
		}
		GroupsAggregate struct {
			Nodes []struct {
				Members []struct {
					UserLogin string
				}
			}
		} `json:"groups_aggregate"`
		Path   string `default:"raid"`
		Object struct {
			Name string `default:"raid"`
			Type string `default:"raid"`
		}
	}
}

type Skills

type Skills struct {
	MaxLevel int
	Skill    []string
	Name     string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址