History By Date

You can get a details overview of history by a date. For example 1/28 will the return the history of 28th January

Algorithmia Platform License · Internet Access

Run an Example

1/28
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
{
  "Famous Birthdays": [
    {
      "desc": "(1822 - 1892)",
      "people ": "Alexander Mackenzie"
    },
    {
      "desc": "(1841 - 1904)",
      "people ": "Henry Morton Stanley"
    },
    {
      "desc": "(1873 - 1954)",
      "people ": "Colette"
    },
    {
      "desc": "(1912 - 1956)",
      "people ": "Jackson Pollock"
    },
    {
      "desc": "63 Years Old",
      "people ": "Nicolas Sarkozy"
    },
    {
      "desc": "37 Years Old",
      "people ": "Elijah Wood"
    }
  ],
  "Famous Deaths": [
    {
      "desc": "(742 - 814)",
      "people ": "Charlemagne"
    },
    {
      "desc": "(1491 - 1547)",
      "people ": "Henry VIII"
    },
    {
      "desc": "( - 1596)",
      "people ": "Francis Drake"
    },
    {
      "desc": "(1872 - 1918)",
      "people ": "John McCrae"
    },
    {
      "desc": "(1903 - 1991)",
      "people ": "Red Grange"
    }
  ],
  "Famous Weddings": [
    {
      "desc": " Labor union leader Samuel Gompers (17) weds co-worker Sophia Julian (16) in Brooklyn, New York",
      "year": "1867"
    },
    {
      "desc": " German chancellor Konrad Adenauer (28) weds Emma Weyer at St. Stephan Catholic Church in Lindenthal, Germany",
      "year": "1904"
    },
    {
      "desc": " Actress Gloria Swanson (25) weds aristocrat Henri de la Falaise (26) in Paris, France",
      "year": "1925"
    },
    {
      "desc": " Mobster Bugsy Siegel (23) weds childhood sweetheart Esta Krakower",
      "year": "1929"
    },
    {
      "desc": " NFL coach Tom Landry (24) weds Alicia Wiggs at St John the Divine Church in Houston, Texas",
      "year": "1949"
    },
    {
      "desc": " "Desperate Housewives" actress Eva Longoria (37) divorces NBA player Tony Parker (30) due to irreconcilable differences after 3 years of a storybook wedding",
      "year": "2011"
    }
  ],
  "January in History ": [
    {
      "desc": "One of the most notorious denials in political history came on this day when President Bill Clinton held a news conference on his relations with Monica Lewinsky. ",
      "title ": "'I Did Not Have Sexual Relations With That Woman'"
    },
    {
      "desc": "German Emperor 'Kaiser Bill,' was born on this day, strong-willed and determined to overcome the deformity that afflicted him from birth. ",
      "title ": "Crippled Kaiser Had Grip of Iron"
    },
    {
      "desc": "How did Lord George Gordon, an aristocrat who led the Gordon Riots in London, lose a libel case on this day to French Queen Marie Antoinette? ",
      "title ": "Riot Leader Accuses a Queen"
    },
    {
      "desc": "The smile has beguiled art lovers for nearly 600 years and made the Mona Lisa the world's most famous work of art. But was her smile due to a medical condition? ",
      "title ": "Secret Behind Mona Lisa's Smile"
    }
  ],
  "Significant Events": [
    {
      "desc": " Emperor Charles V opens the Diet of Worms in Worms, Germany which lasts until May 25th. Produced the "Edict of Worms" which dennouced Martin Luther",
      "year": "1521"
    },
    {
      "desc": " London's Pall Mall is 1st street lit by gaslight",
      "year": "1807"
    },
    {
      "desc": " Jane Austen's "Pride and Prejudice" is published by Thomas Egerton in the United Kingdom",
      "year": "1813"
    },
    {
      "desc": " Sir Stamford Raffles lands in Singapore",
      "year": "1819"
    },
    {
      "desc": " Russian expedition led by Fabian Gottlieb von Bellingshausen and Mikhail Lazarev discover the continent of Antarctica",
      "year": "1820"
    },
    {
      "desc": " The name "Pakistan" is coined by Choudhry Rahmat Ali and gradually accepted by Muslims in the Indian sub-continent who use it to push for a separate Muslim homeland in South Asia",
      "year": "1933"
    }
  ]
}

Install & Use

Use
curl -X POST -d '1/28' -H 'Content-Type: text/plain' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/jabedbd/HistoryByDate/0.1.0
Use
algo run jabedbd/HistoryByDate/0.1.0 -d '1/28'
Use
import (
  algorithmia "github.com/algorithmiaio/algorithmia-go"
)

input := 1/28

var client = algorithmia.NewClient("YOUR_API_KEY")
algo, _ := client.Algo("jabedbd/HistoryByDate/0.1.0")
resp, _ := algo.Pipe(input)
response := resp.(*algorithmia.AlgoResponse)
fmt.Println(response.Result)
Use
import com.algorithmia.*;
import com.algorithmia.algo.*;

String input = "1/28";
AlgorithmiaClient client = Algorithmia.client("YOUR_API_KEY");
Algorithm algo = client.algo("jabedbd/HistoryByDate/0.1.0");
AlgoResponse result = algo.pipe(input);
System.out.println(result.asJsonString());
Use
var input = '1/28';
Algorithmia.client("YOUR_API_KEY")
    .algo("jabedbd/HistoryByDate/0.1.0")
    .pipe(input)
    .then(function(output) {
        console.log(output);
    });
Use
using Algorithmia;

var input = "1/28";
var client = new Client("YOUR_API_KEY");
var algorithm = client.algo("jabedbd/HistoryByDate/0.1.0");
var response = algorithm.pipe<object>(input);
Console.WriteLine(response.result);
Use
var input = 1/28;
Algorithmia.client("YOUR_API_KEY")
    .algo("jabedbd/HistoryByDate/0.1.0")
    .pipe(input)
    .then(function(response) {
        console.log(response.get());
    });
Use
import Algorithmia

input = '1/28'
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('jabedbd/HistoryByDate/0.1.0')
print(algo.pipe(input))
Use
library(algorithmia)

input <- '1/28'
client <- getAlgorithmiaClient("YOUR_API_KEY")
algo <- client$algo("jabedbd/HistoryByDate/0.1.0")
result <- algo$pipe(input)$result
print(result)
Use
require 'algorithmia'

input = '1/28'
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('jabedbd/HistoryByDate/0.1.0')
puts algo.pipe(input).result
Use
use algorithmia::Algorithmia;

let input = "1/28";
let client = Algorithmia::client("YOUR_API_KEY");
let algo = client.algo("jabedbd/HistoryByDate/0.1.0");
let response = algo.pipe(input);
Use
import com.algorithmia._
import com.algorithmia.algo._

val input = "1/28"
val client = Algorithmia.client("YOUR_API_KEY")
val algo = client.algo("jabedbd/HistoryByDate/0.1.0")
val result = algo.pipe(input)
System.out.println(result.asJsonString)
Use
import Algorithmia

let input = "1/28";
let client = Algorithmia.client(simpleKey: "YOUR_API_KEY")
let algo = client.algo(algoUri: "jabedbd/HistoryByDate/0.1.0")
algo.pipe(text: input) { resp, error in
  print(resp)
}