In other languages:

Mod portal API: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 13: Line 13:
| The datetime the mod was uploaded to the mod portal, in the full ISO 8601 format, with a space separator instead of 'T'.
| The datetime the mod was uploaded to the mod portal, in the full ISO 8601 format, with a space separator instead of 'T'.
|-
|-
| license_flags || Integer
| current_user_rating ||
|  
|
|-
| downloads_count || Integer
|
|-
| first_media_file || Object
|
|-
|-
| id || Integer
| game_versions || String[]
|
|
|-
|-
| summary || String
| github_path ||
|
|
|-
|-
| ratings_count || Integer
| homepage || String
|
|
|-
|-
| first_media_file || Object
| id || Integer
|
|
|-
|-
| game_versions || String[]
| latest_release || Object
|
|
|-
| license_flags || Integer
|
|-
|-
| license_name || String
| license_name || String
|
|-
| license_url || String
|
|
|-
|-
Line 37: Line 49:
| The mod's machine-readable ID string.
| The mod's machine-readable ID string.
|-
|-
| visits_count || Integer
| owner || String
|
|
|-
|-
| current_user_rating ||  
| ratings_count || Integer
|
|
|-
|-
| homepage || String
| summary || String
|
|
|-
|-
Line 51: Line 63:
| title || String
| title || String
| The mod's human-readable name.
| The mod's human-readable name.
|-
| owner || String
|
|-
|-
| updated_at || String(ISO 8601)
| 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'.
| The datetime the mod was last updated, in the full ISO 8601 format, with a space separator instead of 'T'.
|-
|-
| license_url || String
| visits_count || Integer
|
|-
| latest_release || Object
|
|-
| github_path ||
|
|-
| downloads_count || Integer
|
|
|}
|}


{{Languages}}[[Category:Technical]]
{{Languages}}[[Category:Technical]]

Revision as of 05:30, 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 to the mod portal, in the full ISO 8601 format, with a space separator instead of 'T'.
current_user_rating
downloads_count Integer
first_media_file Object
game_versions String[]
github_path
homepage String
id Integer
latest_release Object
license_flags Integer
license_name String
license_url String
name String The mod's machine-readable ID string.
owner String
ratings_count Integer
summary String
tags Object[]
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