All posts by João Moura

Animapy, anime API for Python

Animapy

An anime API for python.

What it does

Animapy is an API for Python that retrieves the animes based on a search query. Currently, it uses anitube to get portuguese subbed animes, and nwanime for english subbed animes.
Continue reading Animapy, anime API for Python

Advertisements

Frontend development

I’ve always worked as “full” web developer, i would do the Frontend, Backend and backoffice implementation of a website, but since February 2014 i started working as a frontend developer at a company called NOS.
Continue reading Frontend development

Email Verification JavaScript

Just a little code snippet to verify an email in JavaScript.

The function:

<script type="text/javascript">
    var result = emailVerification("insert email here");
    function emailVerification(email){
        var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
        if (!filter.test(email.value)) {
            return false;
        } else {
            return true;
        }
    }
</script>

Continue reading Email Verification JavaScript