Getting Started

This explains the new API only. See TumblrApi.NetConsole for the legacy API

namespace Sample
{
    using OpenSource.TumblrAPI;
    using OpenSource.TumblrAPI.DataObjects;
    using OpenSource.TumblrAPI.Interfaces;

    class Program
    {
        static void Main(string[] args)
        {
            GetPostsWithTag("Dilbert");
        }

        private static void GetPostsWithTag(string tag)
        {
            TumblrSettings settings = TumblrApiFactory.CreateSettings("api key");
            ITumblrBasic basic = TumblrApiFactory.CreateTumblrBasic(settings);
            TumblrPost[] posts = basic.RequestPostsWithTag(tag);
        }
    }
}





Last edited Feb 10, 2013 at 5:52 AM by ChrisHand, version 6

Comments

No comments yet.