Documentation
¶
Index ¶
Constants ¶
View Source
const (
BaseURLV1 = "https://toolhub.wikimedia.org/api"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { BaseURL string HTTPClient HTTPClient }
func (*Client) SearchTools ¶
type HTTPClient ¶ added in v0.19.0
type Tool ¶
type Tool struct { Name string `json:"name"` Title string `json:"title"` Description string `json:"description"` URL string `json:"url"` Keywords []string `json:"keywords"` Author []interface{} `json:"author"` Repository string `json:"repository"` Subtitle interface{} `json:"subtitle"` OpenhubID interface{} `json:"openhub_id"` URLAlternates []interface{} `json:"url_alternates"` BotUsername interface{} `json:"bot_username"` Deprecated bool `json:"deprecated"` ReplacedBy interface{} `json:"replaced_by"` Experimental bool `json:"experimental"` ForWikis []interface{} `json:"for_wikis"` Icon interface{} `json:"icon"` License interface{} `json:"license"` Sponsor []interface{} `json:"sponsor"` AvailableUILanguages []interface{} `json:"available_ui_languages"` TechnologyUsed []interface{} `json:"technology_used"` Type string `json:"tool_type"` APIURL interface{} `json:"api_url"` DeveloperDocsURL []interface{} `json:"developer_docs_url"` UserDocsURL []interface{} `json:"user_docs_url"` FeedbackURL []interface{} `json:"feedback_url"` PrivacyPolicyURL []interface{} `json:"privacy_policy_url"` TranslateURL interface{} `json:"translate_url"` BugtrackerURL interface{} `json:"bugtracker_url"` Schema interface{} `json:"_schema"` Language string `json:"_language"` Origin string `json:"origin"` CreatedBy struct { ID int `json:"id"` Username string `json:"username"` } `json:"created_by"` CreatedDate time.Time `json:"created_date"` ModifiedBy struct { ID int `json:"id"` Username string `json:"username"` } `json:"modified_by"` ModifiedDate time.Time `json:"modified_date"` }
type ToolsOptions ¶
Click to show internal directories.
Click to hide internal directories.