userTimeline.h
Go to the documentation of this file.
#ifndef COCOATWEET_API_STATUS_USERTIMELINE_H_
#define COCOATWEET_API_STATUS_USERTIMELINE_H_
#include <cocoatweet/api/interface/httpGet.h>
#include <cocoatweet/api/model/tweet.h>
#include <vector>
#include <utility>
#include <memory>
namespace CocoaTweet::API::Statuses {
class UserTimeline : public CocoaTweet::API::Interface::HttpGet {
public:
UserTimeline();
void screenName(const std::string& _screenName);
std::vector<CocoaTweet::API::Model::Tweet> process(
std::weak_ptr<CocoaTweet::OAuth::OAuth1> _oauth);
private:
std::string status_;
};
} // namespace CocoaTweet::API::Statuses
#endif
httpGet.h
tweet.h
CocoaTweet::API::Statuses::UserTimeline::UserTimeline
UserTimeline()
primary constructor
Definition: userTimeline.cc:6
CocoaTweet::API::Statuses::UserTimeline
class for using statuses/user_timeline endpoint
Definition: userTimeline.h:12
CocoaTweet::API::Interface::HttpGet
class for Send request with POST method
Definition: httpGet.h:10
CocoaTweet::API::Statuses::UserTimeline::screenName
void screenName(const std::string &_screenName)
set screen name to get timeline
Definition: userTimeline.cc:11
CocoaTweet::API::Statuses::UserTimeline::process
std::vector< CocoaTweet::API::Model::Tweet > process(std::weak_ptr< CocoaTweet::OAuth::OAuth1 > _oauth)
process request for endpoint
Definition: userTimeline.cc:15
CocoaTweet::API::Statuses
Definition: destroy.cc:4