Osmani started his career with his local club Skënderbeu Korçë as a teenager where he worked his way through the youth ranks and joined the first team prior to the 2002–03 season, where the club was competing in the Albanian Second Division, the third tier of Albanian football. He left the team after one season and joined Albanian First Division side Tomori Berat where he would stay for one year before leaving at the end of the season to join Albanian Superliga side Elbasani. Upon joining the club he became a key member of the squad and made 36 league appearances and scored twice to help the club finish as runners up in the league behind Tirana.
Following a decent second season with Tirana, he was given offers from other clubs in Albania and abroad. Most notably two unnamed clubs from Switzerland, both in the top flight. However he needed to talk to his manager and the owner of KF Tirana Refik Halili to sort out his current contract with the club.
On 23 July 2011 he joined Teuta Durrës on a one-year contract.
He signed for Vllaznia Shkodër on 16 July 2012 and was presented to the media in the very same day. He was part of the team only in the first part of 2012–13 season, collecting 13 league matches and one goal. Osmani left the club during the winter transfer window in controversial fashion.
In January 2013, he returned to Teuta Durrës for the second part of 2012–13 season. He made his return debut on 10 February in the matchday 14 against Shkumbini Peqin, netting his side second goal in an eventual 3–0 home win.
On 29 May 2014, Osmani signed a one-year contract with his boyhood club Skënderbeu Korçë; he signed along with Bernard Berisha, and was handed squad number 17. In June, he travel with the team in Austria to make the preparation phase to get ready for the UEFA Champions League tie against BATE Borisov. He was one of the 23 players called up by the coach Mirel Josa for this clash.
On 15 July, in the first leg of the second qualifying round, Osmani made an overall good performance, helping Skënderbeu Korçë to get a clean sheet at Borisov Arena. In the returning leg one week later, Osmani was again in the starting lineup, with Skënderbeu who didn't get more than a 1–1 draw at home, eliminated thus from the competition due to away goal rule.
Osmani started the domestic season by winning his first silverware with the club, the Albanian Supercup, as Skënderbeu Korçë defeated Flamurtari Vlorë at Qemal Stafa Stadium thanks to a Bakary Nimaga winner.
On 23 February 2015, during the league match against Kukësi, Osmani suffered an injury and was substituted in the 15th minute for Leonit Abazi, with the match finishing 1–1. Following the match, it was reported that he had suffered a strain injury in his right thigh that kept him outside the field for one month. He finally made his comeback on 13 April by playing the full 90 minutes during the 5–2 thrashing of Partizani Tirana at Skënderbeu Stadium.
On 8 July 2015, Osmani agreed a contract extension with Skënderbeu Korçë, signing a contract until June 2016. He renewed the contract in the airplane while he was traveling back to Albania with the rest of the squad, becoming the first player in history do to so.
During 2016–17 season, Osmani made 26 league appearances, including 5 cup appearances and one in Albanian Supercup where the team was defeated by Kukësi. On 20 May 2017, during the decisive match against Kukësi for the championship, Osmani along with other teammates were included in a massive brawl with referee Enea Jorgji which sent him off for unsportsmanlike conduct. Everything started in the 59th minute when the referee didn't give a clear penalty to Skënderbeu after a foul inside the zone on Liridon Latifi, instead booking him for diving. Skënderbeu eventually were defeated 2–0 at Zeqir Ymeri Stadium, meaning that they have failed to win the championship for the first time in six years. Disciplinary Committee of AFA handed him a eight-game ban for all domestic competitions.
Osmani has represented Albania national team in 12 occasions, making his debut in 2005.
Osmani main position is centre-back. Since the beginning of 2017, under manager Ilir Daja, Osmani begun utilised as a defensive midfielder.As of 16 March 2016
As of 20 March 2016
Albanian Cup: 2010–11
Albanian Superliga: 2014–15
Albanian Supercup: 2014