Skip to content

Commit

Permalink
Add social shares count and images metadata filters
Browse files Browse the repository at this point in the history
  • Loading branch information
hamedrnik committed Nov 4, 2016
1 parent 98f0402 commit 8dcd743
Show file tree
Hide file tree
Showing 12 changed files with 1,364 additions and 1,316 deletions.
2 changes: 1 addition & 1 deletion configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func NewConfiguration() *Configuration {
DefaultHeader: make(map[string]string),
APIKey: make(map[string]string),
APIKeyPrefix: make(map[string]string),
UserAgent: "aylien-news-api/0.2.2/go",
UserAgent: "aylien-news-api/0.3.0/go",
}
}

Expand Down
115 changes: 65 additions & 50 deletions coverages_params.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,54 +21,69 @@ import (
)

type CoveragesParams struct {
Id []int64
Title string
Body string
Text string
Language []string
PublishedAtStart string
PublishedAtEnd string
CategoriesTaxonomy string
CategoriesConfident string
CategoriesId []string
CategoriesLevel []int32
EntitiesTitleText []string
EntitiesTitleType []string
EntitiesTitleLinksDbpedia []string
EntitiesBodyText []string
EntitiesBodyType []string
EntitiesBodyLinksDbpedia []string
SentimentTitlePolarity string
SentimentBodyPolarity string
MediaImagesCountMin string
MediaImagesCountMax string
MediaVideosCountMin string
MediaVideosCountMax string
AuthorId []int32
AuthorName string
SourceId []int32
SourceName []string
SourceDomain []string
SourceLocationsCountry []string
SourceLocationsState []string
SourceLocationsCity []string
SourceScopesCountry []string
SourceScopesState []string
SourceScopesCity []string
SourceScopesLevel []string
SourceLinksInCountMin int32
SourceLinksInCountMax int32
SourceRankingsAlexaRankMin int32
SourceRankingsAlexaRankMax int32
SourceRankingsAlexaCountry []string
Cluster string
ClusterAlgorithm string
Return []string
StoryId int64
StoryUrl string
StoryTitle string
StoryBody string
StoryPublishedAt time.Time
StoryLanguage string
PerPage int32
Id []int64
Title string
Body string
Text string
Language []string
PublishedAtStart string
PublishedAtEnd string
CategoriesTaxonomy string
CategoriesConfident string
CategoriesId []string
CategoriesLevel []int32
EntitiesTitleText []string
EntitiesTitleType []string
EntitiesTitleLinksDbpedia []string
EntitiesBodyText []string
EntitiesBodyType []string
EntitiesBodyLinksDbpedia []string
SentimentTitlePolarity string
SentimentBodyPolarity string
MediaImagesCountMin string
MediaImagesCountMax string
MediaImagesWidthMin string
MediaImagesWidthMax string
MediaImagesHeightMin string
MediaImagesHeightMax string
MediaImagesContentLengthMin string
MediaImagesContentLengthMax string
MediaImagesFormat []string
MediaVideosCountMin string
MediaVideosCountMax string
AuthorId []int32
AuthorName string
SourceId []int32
SourceName []string
SourceDomain []string
SourceLocationsCountry []string
SourceLocationsState []string
SourceLocationsCity []string
SourceScopesCountry []string
SourceScopesState []string
SourceScopesCity []string
SourceScopesLevel []string
SourceLinksInCountMin int32
SourceLinksInCountMax int32
SourceRankingsAlexaRankMin int32
SourceRankingsAlexaRankMax int32
SourceRankingsAlexaCountry []string
SocialSharesCountFacebookMin string
SocialSharesCountFacebookMax string
SocialSharesCountGooglePlusMin string
SocialSharesCountGooglePlusMax string
SocialSharesCountLinkedinMin string
SocialSharesCountLinkedinMax string
SocialSharesCountRedditMin string
SocialSharesCountRedditMax string
Cluster string
ClusterAlgorithm string
Return []string
StoryId int64
StoryUrl string
StoryTitle string
StoryBody string
StoryPublishedAt time.Time
StoryLanguage string
PerPage int32
}
Loading

0 comments on commit 8dcd743

Please sign in to comment.