Wednesday, April 20, 2016

to REST or not to REST

HTTP
REST
SOAP
RPC
API Documentation
Normalization
Denormalization
DB Schema
Indexing
Search by Topic
Caching
Versioning
Depreciation & Appreciation

API Verbs

  1. Change/Update/Modify - POST
  2. Add/Insert - PUT[POST]
  3. Remove/Delete - DELETE
  4. Retrieve/Select/Fetch/Get - GET

Let's do the new!

Monday, April 11, 2016

Exploring the interesting stuff via Flickr API

Today, i set out to make a page to see random flickr images
https://www.flickr.com/services/api/flickr.interestingness.getList.html
Nice API, it worked in a matter of seconds, i could get it done in no time.

and came across Flickr Pandas,
https://www.flickr.com/services/api/flickr.panda.getList.html

Fired up Postman,
Request URL: https://api.flickr.com/services/rest/?api_key=*&method=flickr.panda.getList&format=json

Response JSON:
{
  "pandas": {
    "panda": [
      {
        "_content": "ling ling"
      },
      {
        "_content": "hsing hsing"
      },
      {
        "_content": "wang wang"
      }
    ]
  },
  "stat": "ok"
}

If XML


  ling ling
  hsing hsing
  wang wang

There are 3 Flickr Pandas:

  1. ling ling - ucumari
  2. hsing hsing - lynnehicks
  3. wang wang - perfectpandas

Read more about them here!
I'll explore more soon with null and echo
before i can get ot using
https://www.flickr.com/services/api/flickr.stats.getPopularPhotos.html

Sunday, April 3, 2016

NATO Codes

A
Alpha
B
Bravo
C
Charlie
D
Delta
E
Echo
F
Foxtrot
G
Golf
H
Hotel
I
India
J
Juliett
K
Kilo
L
Lima
M
Mike
N
November
O
Oscar
P
Papa
Q
Quebec
R
Romeo
S
Sierra
T
Tango
U
Uniform
V
Victor
W
Whiskey
X
Xray
Y
Yankee
Z
Zulu

Going one step further with Kotlin & gRPC

Recently, I tried using Quarkus with Kotlin for grpc. I have worked with grpc for communication between microservices in Java & Golang. ...