Mozscape

class mozscape.Mozscape(access_id, secret_key)

Create a Mozscape service.

Variables:
  • access_id (str) – Your Mozscape AccessID.
  • secret_key (str) – Your Mozscape Secret Key.

Metadata

Mozscape.metadata()

Return the resource responsible for Mozscape Index metadata.

Metadata.index_stats()

Fetch data about the volume of information in the Mozscape Index.

Metadata.last_update()

Fetch the Unix timestamp of the last Mozscape Index update.

Metadata.next_update()

Fetch the Unix timestamp of the next Mozscape Index update.

Service methods

Mozscape.urlmetrics(urls, cols)

Fetch URL metrics for one or more URLs.

Variables:
  • urls (str or list of str) – The URLs you’re interested in.
  • cols – The sum of column constants for metrics you want to have fetched, taken from libsaas.services.mozscape.constants.