GitXplorerGitXplorer
c

AWS-S3-Cpp-REST-API

public
10 stars
8 forks
1 issues

Commits

List of commits on branch master.
Unverified
6193f67c62f6ad25bf2c8555ee4d238bb602328b

Update S3.cpp

committed 9 years ago
Unverified
ca82d1e84adee99a1241f1d7068c12e9cd15f7ed

Update README.md

committed 9 years ago
Unverified
db18f79b2f9f552e19dd9c77c893a7b9ebb618b6

Update README.md

committed 9 years ago
Unverified
41536f2c899f4d7cff8fd89fd0e747040a3011dd

Update README.md

committed 9 years ago
Unverified
677e812b15d0c65fd72071465ca93d66d6eabf07

first commit

committed 9 years ago

README

The README file for this repository.

AWS-S3-Cpp-REST-API

This repository is an example of how to use the AWS REST API with C++. For more detailed information please refer to following post.

How to use

To use this project with your own AWS account, the only thing you'll need to add to the source code is your AWS credentials in the main.cpp file.

Build

To compile this repository, execute following commands:

git clone https://github.com/cedricve/AWS-S3-Cpp-REST-API
cd AWS-S3-Cpp-REST-API
mkdir build && cd build
cmake .. && make
../bin/s3

Library

A class S3 is included which contains three methods. For more background information of the actual REST API, please check the documentation page of AWS.

string getBuckets();

Get all your buckets.

string getObjects(const string & bucket);

Get all objects from a specific bucket.

bool putObject(const string & file);

Add a file to your bucket.