Mod portal API: Difference between revisions
Jump to navigation
Jump to search
Line 23: | Line 23: | ||
|- | |- | ||
| game_versions || String[] | | game_versions || String[] | ||
| A list of Factorio version strings (e.g. "0.13" | | A list of major Factorio version strings (e.g. "0.13") starting with 0.13 that the mod is compatible with, ''in addition to'' the version found in "latest_release". | ||
|- | |- | ||
| github_path || String | | github_path || String | ||
Line 37: | Line 37: | ||
| | | | ||
|- | |- | ||
| license_flags || Integer | | license_flags || Integer(11 bit) | ||
| | | | ||
|- | |- | ||
| license_name || String | | license_name || String | ||
| | | The mod's license name. | ||
|- | |- | ||
| license_url || String | | license_url || String | ||
| | | A URL link to the full license agreement. Can be any string in case of custom licenses. | ||
|- | |- | ||
| name || String | | name || String | ||
Line 50: | Line 50: | ||
|- | |- | ||
| owner || String | | owner || String | ||
| | | The Factorio username of the mod's author. | ||
|- | |- | ||
| ratings_count || Integer | | ratings_count || Integer | ||
| | | Doesn't seem to be implemented yet. | ||
|- | |- | ||
| summary || String | | summary || String | ||
| | | Mod description. | ||
|- | |- | ||
| tags || Object[] | | tags || Object[] | ||
| | | A list of tag objects that categorize the mod. | ||
|- | |- | ||
| title || String | | title || String | ||
Line 68: | Line 68: | ||
|- | |- | ||
| visits_count || Integer | | visits_count || Integer | ||
| | | The number of times the mod was viewed, but perhaps only counted on the web interface??? | ||
|} | |} | ||
{{Languages}}[[Category:Technical]] | {{Languages}}[[Category:Technical]] |
Revision as of 06:18, 26 January 2017
The Mod Portal API is used to both browse and download all mods available on the official Factorio mod portal. Using the API does not require any kind of authentication or account information and can be viewed simply by clicking the link below in any web browser.
API endpoint: https://mods.factorio.com/api/mods
Object Types
Result Entry
Key | Type | Description |
---|---|---|
created_at | String(ISO 8601) | The datetime the mod was uploaded, in the full ISO 8601 format, with a space separator instead of 'T'. |
current_user_rating | Null | Doesn't seem to be implemented yet. |
downloads_count | Integer | Number of downloads. |
first_media_file | Object | |
game_versions | String[] | A list of major Factorio version strings (e.g. "0.13") starting with 0.13 that the mod is compatible with, in addition to the version found in "latest_release". |
github_path | String | A link to the mod's github project page, just prepend "github.com/". Can be blank (""). |
homepage | String | Usually a URL to the mod's main project page, but can be any string. |
id | Integer | A numerical mod ID used to identify the mod in other API endpoints. |
latest_release | Object | |
license_flags | Integer(11 bit) | |
license_name | String | The mod's license name. |
license_url | String | A URL link to the full license agreement. Can be any string in case of custom licenses. |
name | String | The mod's machine-readable ID string. |
owner | String | The Factorio username of the mod's author. |
ratings_count | Integer | Doesn't seem to be implemented yet. |
summary | String | Mod description. |
tags | Object[] | A list of tag objects that categorize the mod. |
title | String | The mod's human-readable name. |
updated_at | String(ISO 8601) | The datetime the mod was last updated, in the full ISO 8601 format, with a space separator instead of 'T'. |
visits_count | Integer | The number of times the mod was viewed, but perhaps only counted on the web interface??? |