Click here to Skip to main content
15,891,903 members
Articles / Programming Languages / C#

digg API.NET - C# Implementation of digg Web Services

Rate me:
Please Sign up or sign in to vote.
3.92/5 (5 votes)
5 Oct 20075 min read 84.5K   275   28  
A C# Library Interface For the Digg.com API
using System;
using System.Collections.Generic;
using System.Text;

namespace Baileysoft.Rss.DiggAPI
{
    /// <summary>
    /// Placeholder for library default values
    /// </summary>
    public struct Globals
    {
        public static string AppKey = "http://apidoc.digg.com";
        public static string Base = "http://services.digg.com/";
        public static string UrlStory = "http://services.digg.com/story/";
        public static string UrlStories = "http://services.digg.com/stories/";
        public static string UrlTopics = "http://services.digg.com/stories/topic/";
        public static string UrlUser = "http://services.digg.com/user/";
        public static string Count = "25"; //max 100
        public static string UserArgs = ""; //placeholder for user arguments such as sort/min-max_date
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer
United States United States
I'm a professional .NET software developer and proud military veteran. I've been in the software business for 20+ years now and if there's one lesson I have learned over the years, its that in this industry you have to be prepared to be humbled from time to time and never stop learning!

Comments and Discussions