diff --git a/index.html b/index.html new file mode 100644 index 0000000..c4dcc33 --- /dev/null +++ b/index.html @@ -0,0 +1,151 @@ + + +
+ + + ++ Get a twitter profile pic using a given handle ++ +
normal
, bigger
, mini
, original
, 200x200
, 400x400
)application/json
content type header
+<img src="https://twitter-profile-pic.cluster.fun/marcus_noble_?size=200x200" />
+
+
+ Result:
+curl -X GET \
+ https://twitter-profile-pic.cluster.fun/marcus_noble_ \
+ -H 'cache-control: no-cache' \
+ -H 'content-type: application/json'
+
+
+ Result:
+
+{
+ "normal": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_normal.jpg",
+ "bigger": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_bigger.jpg",
+ "mini": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_mini.jpg",
+ "original": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA.jpg",
+ "200x200": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_200x200.jpg",
+ "400x400": "https://pbs.twimg.com/profile_images/776738772759277569/hfaM5zhA_400x400.jpg"
+}
+
+
+