title: Download a bitbucket git repository via api
body: <p>I am trying to make a script which get the repository from bitbucket and upload it to my ftp server.</p>
  
  <p>My first problem is that i dont know how to get the repository.. Is there a way to download it with the official Bitbucket API? Or should i make a temporary folder and download it with git console?</p>
  
  <p>Greez</p>