Recently I had an idea of creating an application from a few undocumented API I had found. Let's suppose I created a Reddit app with features and customization abilities. Is it illegal? Can I create and make it open source (available on Github only) ?"