GData.FreebaseSearchResult

g GData.Entry GData.Entry GData.FreebaseResult GData.FreebaseResult GData.Entry->GData.FreebaseResult GData.FreebaseSearchResult GData.FreebaseSearchResult GData.FreebaseResult->GData.FreebaseSearchResult GData.Parsable GData.Parsable GData.Parsable->GData.Entry GObject.Object GObject.Object GObject.Object->GData.Parsable

Subclasses:

None

Methods

Inherited:

GData.FreebaseResult (2), GData.Entry (24), GData.Parsable (5), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_item (i)

get_num_items ()

get_total_hits ()

Virtual Methods

Inherited:

GData.Parsable (9), GObject.Object (7)

Properties

Inherited:

GData.FreebaseResult (1), GData.Entry (10), GData.Parsable (1)

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

parent

GData.FreebaseResult

r

Class Details

class GData.FreebaseSearchResult(**kwargs)
Bases:

GData.FreebaseResult

Abstract:

No

Structure:

GData.FreebaseSearchResultClass

All the fields in the GData.FreebaseSearchResult structure are private and should never be accessed directly.

New in version 0.15.1.

classmethod new()
Returns:

a new GData.FreebaseSearchResult; unref with GObject.Object.unref()

Return type:

GData.FreebaseSearchResult

Creates a new GData.FreebaseSearchResult with the given ID and default properties.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_item(i)
Parameters:

i (int) – number of item to retrieve

Returns:

a search result item, or None on invalid item.

Return type:

GData.FreebaseSearchResultItem or None

Gets an item from the search result.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_num_items()
Returns:

The number of items

Return type:

int

Returns the number of items contained in this result.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.

get_total_hits()
Returns:

the total number of hits.

Return type:

int

Returns the total number of hits found for the search query.

New in version 0.15.1.

Deprecated since version 0.17.7: Google Freebase has been permanently shut down.