Skip to content
This repository was archived by the owner on Jan 6, 2023. It is now read-only.

Life Feed Service API

Nevin edited this page Sep 19, 2019 · 1 revision

Overview

This document describes the usage of Mozilla Life Feed Service API.

  • News: Transform news RSS feed into JSON format
  • Games/Shopping: Provide an interface for FirefoxLite to fetch human-curated content.

URL Structure

https://<server-url>/api/v1/<api-endpoint>

Note that:

  • All API access must be over HTTPS.
  • The URL embeds a version identifier "v1"; future revisions of this API may introduce new version numbers.
  • The base URL of the server may be configured on a per-client basis.

API Endpoints

  • News

    • Indonesia
      • GET /api/v1/news/indonesia/topics
      • GET /api/v1/news/indonesia/topic/{topic}
    • Google
      • GET /api/v1/news/google/topics
      • GET /api/v1/news/google/topic/{topic}?hl={hl}&gl={gl}&ceid={ceid}
  • Games & Shopping

    • Get /api/v1/content?category={category}&locale={locale}
    • Shopping
      • category: shoppingDeal/shoppingCoupon
      • locale: en-IN / id-ID
    • Game
      • Category: apkGame/html5Game
      • locale: all

Clone this wiki locally