GData.Feed¶
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
The unique ETag for this version of the feed. |
||
r |
Details of the software used to generate the feed. |
||
r |
The URI of an icon for the feed. |
||
r |
The unique and permanent URN ID for the feed. |
||
r |
The number of items per results page feed. |
||
r |
The URI of a logo for the feed. |
||
r |
The next page token for feeds. |
||
r |
The ownership rights pertaining to the entire feed. |
||
r |
The one-based index of the first item in the results feed. |
||
r |
The subtitle of the feed. |
||
r |
The title of the feed. |
||
r |
The total number of results in the feed. |
||
r |
The time the feed was last updated. |
Signals¶
- Inherited:
Fields¶
- Inherited:
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class GData.Feed(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
All the fields in the
GData.Feed
structure are private and should never be accessed directly.- get_authors()¶
- Returns:
a
GLib.List
ofGData.Authors
- Return type:
Returns a list of the authors listed in this feed.
- get_categories()¶
- Returns:
a
GLib.List
ofGData.Categorys
- Return type:
Returns a list of the categories listed in this feed.
- get_entries()¶
- Returns:
a
GLib.List
ofGData.Entrys
- Return type:
Returns a list of the entries contained in this feed.
- get_etag()¶
- Returns:
the feed’s ETag
- Return type:
Returns the feed’s unique ETag for this version.
New in version 0.2.0.
- get_generator()¶
- Returns:
a
GData.Generator
, orNone
- Return type:
Returns details about the software which generated the feed.
- get_icon()¶
-
Returns the icon URI of the feed.
New in version 0.6.0.
- get_items_per_page()¶
- Returns:
the number of items per results page feed, or 0
- Return type:
Returns the number of items per results page feed.
- get_links()¶
- Returns:
a
GLib.List
ofGData.Links
- Return type:
Returns a list of the links listed in this feed.
- get_logo()¶
-
Returns the logo URI of the feed.
- get_next_page_token()¶
-
Returns the next page token for a query result, or
None
if not set. This isGData.Feed
:next-page-token
. The page token might not be set if there is no next page, or if this service does not use token based paging (for example, if it uses page number or offset based paging instead). Most more recent services use token based paging.New in version 0.17.7.
- get_rights()¶
- Returns:
the feed’s rights information
- Return type:
Returns the rights pertaining to the entire feed, or
None
if not set.New in version 0.7.0.
- get_start_index()¶
- Returns:
the one-based start index, or 0
- Return type:
Returns the one-based start index of the results feed in the result set.
- get_subtitle()¶
-
Returns the subtitle of the feed.
- get_total_results()¶
- Returns:
the total number of results, or 0
- Return type:
Returns the total number of results in the result set, including results on other pages. If this is zero, the total number is unknown.
- get_updated()¶
- Returns:
the UNIX timestamp for the time the feed was last updated
- Return type:
Gets the time the feed was last updated.
- look_up_entry(id)¶
- Parameters:
id (
str
) – the entry’s ID- Returns:
the
GData.Entry
, orNone
- Return type:
Returns the entry in the feed with the given id, if found.
New in version 0.2.0.
- look_up_link(rel)¶
- Parameters:
rel (
str
) – the value of theGData.Link
:relation-type
property of the desired link- Returns:
a
GData.Link
, orNone
if one was not found- Return type:
Looks up a link by
GData.Link
:relation-type
value from the list of links in the feed.New in version 0.1.1.
Property Details¶
- GData.Feed.props.etag¶
-
The unique ETag for this version of the feed. See the
online documentation for more information.
New in version 0.2.0.
- GData.Feed.props.generator¶
- Name:
generator
- Type:
- Default Value:
- Flags:
Details of the software used to generate the feed.
API reference: atom:generator
- GData.Feed.props.icon¶
-
The URI of an icon for the feed.
API reference:
New in version 0.6.0.
- GData.Feed.props.items_per_page¶
-
The number of items per results page feed.
API reference:
- GData.Feed.props.next_page_token¶
-
The next page token for feeds. Pass this to gdata_query_set_page_token() to advance to the next page when querying APIs which use page tokens rather than page numbers or offsets.
New in version 0.17.7.
- GData.Feed.props.rights¶
-
The ownership rights pertaining to the entire feed.
For more information, see the Atom specification.
New in version 0.7.0.
- GData.Feed.props.start_index¶
-
The one-based index of the first item in the results feed.
This should not be used manually for pagination. Instead, use a
GData.Query
and call itsGData.Query.next_page
() orGData.Query.previous_page
() functions before making the query to the service.API reference: openSearch:startIndex
- GData.Feed.props.subtitle¶
-
The subtitle of the feed.
API reference: atom:subtitle
- GData.Feed.props.title¶
-
The title of the feed.
API reference:
- GData.Feed.props.total_results¶
-
The number of items in the result set for the feed, including those on other pages. If this is zero, the total number is unknown.
This should not be used manually for pagination. Instead, use a
GData.Query
and call itsGData.Query.next_page
() orGData.Query.previous_page
() functions before making the query to the service.API reference:
- GData.Feed.props.updated¶
-
The time the feed was last updated.
API reference: atom:updated