Skip to content

adcell-go is a library that help golang developers to download feed data from adcell

License

Notifications You must be signed in to change notification settings

matthiasbruns/adcell-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

adcell-go

Simple, yet powerful Adcell go client to import data feeds into you projects.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. Getting Started
  2. Contributing
  3. License
  4. Contact
  5. Acknowledgments

About The Project

Golang Adcell client for https://www.adcell.de

Check the example folder to get started.

(back to top)

Getting Started

Prerequisites

You need to have an Adcell account, a promoId and a slotId.

Adcell Create A Feed

Installation

adcell-go supports 2 last Go versions and requires a Go version with modules support. So make sure to initialize a Go module:

go mod init github.com/my/repo

And then install adcell-go:

go get github.com/matthiasbruns/adcell-go

Quickstart

package main

import (
	"fmt"
	"github.com/matthiasbruns/adcell-go/adcell"
	"net/http"
)

func main() {
	adcellClient := adcell.NewAdcellClient(&http.Client{})

	fetchDataFeed(adcellClient)
}

func fetchDataFeed(adcellClient *adcell.AdcellClient) {
	feed, err := adcellClient.FetchDataFeed(&adcell.DataFeedOptions{
		PromoId: "promoId",
		SlotId:  "slotId",
	})

	if err != nil {
		panic(err)
	}

	fmt.Println(feed)
}

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Matthias Bruns - @MTrax - git@matthiasbruns.com - Discord

Project Link: https://github.com/matthiasbruns/adcell-go

(back to top)

Acknowledgments

Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!

(back to top)

About

adcell-go is a library that help golang developers to download feed data from adcell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages