You can learn German at the Goethe-Zentrum in Pristina. The centre offers beginners and advanced courses.
You can take an exam at the end of each course. If you pass the exam, you will get a certificate. The certificates from the Goethe-Zentrum are recognised in Germany.
You can also go to a different language school and just take the final exam at the Goethe-Zentrum. This is another way to get an official certificate.
You will have to pay a fee for the language courses and the exams.
You can find more information on the website.