package
0.0.0-20210919194826-9aa71bcd68b7
Repository: https://github.com/thedadams/gotion.git
Documentation: pkg.go.dev

# Functions

IsAPIErrorWithCode returns true if the error is a Notion APIError and has the given code.
IsConflictError returns true if the error is an APIError and has the "conflict_error" code.
IsNotFound returns true if the error is an APIError and has the "object_not_found" code.
IsRateLimitError returns true if the error is an APIError and has the "rate_limited" code.
LatestWithAPIKey returns a Settings struct using the provided API key and the latest version of the Notion API.
NewInvalidEnumError returns an error value representing an invalid value for the given enum.
NewPropertySort returns a new Sort object with the provided property as name and the given sort direction.
NewTimestampSort returns a new Sort object with the provided timestamp and the given sort direction.

# Constants

These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These constants represent the valid type enums for a block type.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These constants represent the error codes one can get from the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These constants represent valid enum values for filter objects in the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
No description provided by the author
No description provided by the author
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These constants represent the enums in the Notion API for rich_text objects.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These represent the enum types for pages in the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent the valid enums for database properties int the Notion API.
These represent valid enum values for sort objects in the Notion API.
These represent valid enum values for sort objects in the Notion API.
These represent valid enum values for sort objects in the Notion API.
These represent valid enum values for sort objects in the Notion API.
These constants represent the valid enum types for users in the Notion API.
These constants represent the valid enum types for users in the Notion API.

# Variables

Versions holds a list of all valid versions of the Notion API.

# Structs

Annotations are the annotations on a rich_text object in the Notion API.
APIError is an error from the Notion API.
Block represents the common fields in a "block" in Notion (i.e.
A CheckboxFilter represents a filter object with which to query a database in the Notion API.
A CompoundFilter represents a compound filter object with which to query a database in the Notion API.
A Database represents a database object in the Notion API.
DatabaseProperty represents the properties of the items in a database.
A Date object represents a date with a start and end date/time in the Notion API.
A DateFilter represents a filter object with which to query a database in the Notion API.
An Editable represents all objects in the Notion API that have a "created" and "last updated" time.
The EmptyFilter is one where a property can be filter on whether or not it is empty.
An Equation represents an equation in a rich_text object in the Notion API.
A File represents a file property of a page in a database in the Notion API.
A FilesFilter represents a filter object with which to query a database in the Notion API.
A Filter represents a filter object with which to query a database in the Notion API.
Formula represents a formula entry in a page in the Notion API.
A FormulaFilter represents a filter object with which to query a database in the Notion API.
An Icon represents a page or database icon in the Notion API.
Icons represents the icon and cover icon for pages and databases in the Notion API.
InvalidEnumError represents an invalid enum value for a given enum.
Link type represents a link in a rich_text object in the Notion API.
A Mention represents a mention object in a rich_text object in the Notion API.
A MultiSelectFilter represents a filter object with which to query a database in the Notion API.
A NumberFilter represents a filter object with which to query a database in the Notion API.
An Object represents all the fields that are common to all objects in the Notion API.
A ObjectFilter represents a filter object with which to query a database in the Notion API.
A Page represents a page object in the Notion API.
PageProperty represents a property of a page in a database in the Notion API.
Parent represents the parent object of a page in the Notion API.
A PeopleFilter represents a filter object with which to query a database in the Notion API.
Relation represents a database relation in the Notion API.
A RelationFilter represents a filter object with which to query a database in the Notion API.
RichText represents the common fields in a rich text object in Notion.
Rollup represents a rollup configuration in the Notion API.
RollupValue represents the value of a rollup property of a page in a database in the Notion API.
A SelectFilter represents a filter object with which to query a database in the Notion API.
SelectOption represents the (multi)select options for database properties in the Notion API.
Settings represents the settings needed to use the Notion API.
A Sort object represents a sort used to query a database in the Notion API.
Text type represents a text rich_text object in the Notion API.
A TextFilter represents a filter object with which to query a database in the Notion API.
A User represents a user object in the Notion API.

# Interfaces

StringEnum interface are the methods needed to unmarshal string enums.

# Type aliases

AnnotationColorEnum represents the colors of a rich_text object in the Notion API.
Blocks represents a list of users from the Notion API.
A BlockTypeEnum represents a type of a block in the Notion API.
DatabaseProperties is a short-hand type for a slice of DatabaseProperty, used for (un)marshaling purposes.
A DatabasePropertyTypeEnum represents a valid database property type in the Notion API.
Databases represents a list of users from the Notion API.
FileTypeEnum represents a file type in the Notion API.
A FilterCheckboxConditionEnum represents a valid text filter in the Notion API.
A FilterConditionTypeEnum represents the valid filter types in the Notion API.
A FilterDateConditionEnum represents a valid text filter in the Notion API.
A FilterFilesConditionEnum represents a valid text filter in the Notion API.
A FilterFormulaConditionEnum represents a valid text filter in the Notion API.
A FilterMultiSelectConditionEnum represents a valid text filter in the Notion API.
A FilterNumberConditionEnum represents a valid text filter in the Notion API.
A FilterObjectConditionEnum represents a valid text filter in the Notion API.
A FilterPeopleConditionEnum represents a valid text filter in the Notion API.
A FilterRelationConditionEnum represents a valid text filter in the Notion API.
A FilterSelectConditionEnum represents a valid text filter in the Notion API.
A FilterTextConditionEnum represents a valid text filter in the Notion API.
FormulaTypeEnum represents the parent type in the Notion API.
IconTypeEnum represents an icon type in the Notion API.
MentionTypeEnum represents the valid mention types in the Notion API.
NumberConfigurationTypeEnum represents a number type in a database in the Notion API.
PageProperties represents the properties of a page in a database in the Notion API.
Pages is a slice of pages from the Notion API.
ParentTypeEnum represents the parent type in the Notion API.
A RelationID represents a single relation in a page in a database in the Notion API.
Relations represent a set of relations for a page in a database in the Notion API.
RichTextTypeEnum represents the different types of a rich_text object in the Notion API.
RollupFunctionEnumType represents a valid rollup function in a database in the Notion API.
RollupValueTypeEnum represents a valid rollup value type for a page in a database in the Notion API.
SelectColorEnum represents the valid select colors in the Notion API.
SortDirectionEnum represents a valid timestamp sort type in the Notion API.
SortTimestampEnum represents a valid timestamp sort type in the Notion API.
Users represents a list of users from the Notion API.
UserTypeEnum represents a valid type for a user object in the Notion API.
UUID4 represents the UUIDs used as "id" in the Notion API.