TimPietrusky/codepen-awesomepi

Feature request : infos on a specific pen

Closed this issue · 5 comments

Could it be possible to have something like this ?

http://codepen-awesomepi.timpietrusky.com/{user}/{pen_id}

Unless I didn't understand the readme, it seems like it's not yet possible.

Thanks !

Hey Nico,

what information do you need?

I think of something like this:

Get the source of a pen

/{user}/pen/{pen_id}

Get the description/stats/lovers/forkline of a pen

/{user}/details/{pen_id}

Maybe fetch the comments, too?

Would be perfect ! Good idea to keep the same URL structure as Codepen.

I wouldn't say no for comments ;)

Thanks.


Nico Prat
nicooprat@gmail.com

Le mardi 28 août 2012 à 17:12, Tim Pietrusky a écrit :

What information do you want?
I think of something like this:
Get the source of a pen
/{user}/pen/{pen_id}
Get the description/stats/lovers/forkline of a pen
/{user}/details/{pen_id}
Maybe fetch the comments, too?


Reply to this email directly or view it on GitHub (#5 (comment)).

Get the source of a pen

It's now possible to get the source of a specific pen. What do you think?

/{user}/pen/{pen_id}

For example:
http://codepen-awesomepi.timpietrusky.com/TimPietrusky/pen/HuGar

Get the description/stats/lovers/forkline of a pen

This is handled in issue #12

Man this is awesome, many thanks !

You're welcome!